Re: Re[2]: New syntax feedback for 4.0

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 29484
interpreted = N
texte = on 3/22/00 2:22 PM, jpeacock@univpress.com at jpeacock@univpress.com wrote:> No, no, NO, NO NOOOOOOOO!!!! > > There is no reason to change the obvious > to .gt. or even ). Follow the HTML > standards: > > 3> > > The addition of the quotes allows any parser to distinguish between greater > than > and the closing >. This not something new to learn; you don't like it, stick > with [showif]. This enhancement is intended to make it easier for visual HTML > editors to manage with WebDNA. > > John Peacock > > > ____________________Reply Separator____________________ > Subject: Re: New syntax feedback for 4.0 > Author: > Date: 3/22/00 10:05 AM > >>> >>> >>> >>> >>> This works well for most contexts, but there are a few exceptions >>> that can confuse most parsers. Specifically, ShowIf can contain >>> characters like > which look just like HTML to a parser: >>> >>> 3> >>> ^ looks a lot like followed by a 3 >> >> Shouldn't the parser leave stuff between alone until >> webcat has substituted HTML the parser can deal with? > > > Yes but you're missing the point. Grant is concerned about the > character > being > used inside the TAG, not inside the CONTEXT. Look, this illustrates the use of > > > inside the tag: > > 3> > ... stuff here ... > > > The problem here is that webcat will think that the tag is > instead of 3>. So the solution is to make webcat understand > that > the first > character in this tag is a comparison operator and that it does > NOT > mark the end of the tag. And that would be a hassle to code, thus the reason > for > my simple solution ... > > Just use a different comparison operator! > > Obviously if webcat's language recognized some character OTHER THAN > to mean > greater than, this would not even be an issue. > > It's a lot better to use a different character for the greater than operator > than to develop a bunch of new syntax for us to have to learn, that's why I > suggested using ) or } instead of > as the greater than comparison operator. > Then the webdna language would understand that ) or } means greater than, > and > this would be a non-issue. > > The solution would then be to use the same syntax we have always used, with > the > simple substitution of ONE CHARACTER, like this: > > > ... stuff here ... > > > ... or like this: > > > ... stuff here ... > > > ================================ > Kenneth Grome, WebDNA Consultant > 808-737-6499 http://webdna.net > ================================ > > > > > > > ############################################################# > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > To switch to the INDEX mode, E-mail to > > Send administrative queries to > ############################################################# This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to To switch to the INDEX mode, E-mail to Send administrative queries to Associated Messages, from the most recent to the oldest:

    
  1. Re: Re[2]: New syntax feedback for 4.0 (Will Starck 2000)
  2. Re[2]: Re[2]: New syntax feedback for 4.0 (jpeacock@univpress.com 2000)
  3. Re: Re[2]: New syntax feedback for 4.0 (Pat McCormick 2000)
  4. Re: Re[2]: New syntax feedback for 4.0 (Pat McCormick 2000)
  5. Re[2]: New syntax feedback for 4.0 (jpeacock@univpress.com 2000)
  6. Re[2]: New syntax feedback for 4.0 (jpeacock@univpress.com 2000)
  7. Re[2]: New syntax feedback for 4.0 (jpeacock@univpress.com 2000)
on 3/22/00 2:22 PM, jpeacock@univpress.com at jpeacock@univpress.com wrote:> No, no, NO, NO NOOOOOOOO!!!! > > There is no reason to change the obvious > to .gt. or even ). Follow the HTML > standards: > > 3> > > The addition of the quotes allows any parser to distinguish between greater > than > and the closing >. This not something new to learn; you don't like it, stick > with [showif]. This enhancement is intended to make it easier for visual HTML > editors to manage with WebDNA. > > John Peacock > > > ____________________Reply Separator____________________ > Subject: Re: New syntax feedback for 4.0 > Author: > Date: 3/22/00 10:05 AM > >>> >>> >>> >>> >>> This works well for most contexts, but there are a few exceptions >>> that can confuse most parsers. Specifically, ShowIf can contain >>> characters like > which look just like HTML to a parser: >>> >>> 3> >>> ^ looks a lot like followed by a 3 >> >> Shouldn't the parser leave stuff between alone until >> webcat has substituted HTML the parser can deal with? > > > Yes but you're missing the point. Grant is concerned about the > character > being > used inside the TAG, not inside the CONTEXT. Look, this illustrates the use of > > > inside the tag: > > 3> > ... stuff here ... > > > The problem here is that webcat will think that the tag is > instead of 3>. So the solution is to make webcat understand > that > the first > character in this tag is a comparison operator and that it does > NOT > mark the end of the tag. And that would be a hassle to code, thus the reason > for > my simple solution ... > > Just use a different comparison operator! > > Obviously if webcat's language recognized some character OTHER THAN > to mean > greater than, this would not even be an issue. > > It's a lot better to use a different character for the greater than operator > than to develop a bunch of new syntax for us to have to learn, that's why I > suggested using ) or } instead of > as the greater than comparison operator. > Then the webdna language would understand that ) or } means greater than, > and > this would be a non-issue. > > The solution would then be to use the same syntax we have always used, with > the > simple substitution of ONE CHARACTER, like this: > > > ... stuff here ... > > > ... or like this: > > > ... stuff here ... > > > ================================ > Kenneth Grome, WebDNA Consultant > 808-737-6499 http://webdna.net > ================================ > > > > > > > ############################################################# > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > To switch to the INDEX mode, E-mail to > > Send administrative queries to > ############################################################# This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to To switch to the INDEX mode, E-mail to Send administrative queries to Pat McCormick

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Frames and WebCat (1997) process SSI (1998) Show items based on login Password (2003) Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (2003) Credit card payment processor (2004) Make sure I understand this??? (1997) Tax on shipping (1998) WebCat2.0 [format thousands .0f] no go (1997) Check boxes (1997) Frames and WebCat (1997) japanese characters (1997) Logging purchases (1997) [math] are you there? (1999) Creating main- and sub-category search (1997) [WebDNA] suffix question regarding table (2009) Generating Report Totals (1997) Problem displaying search result (1997) How do I get WebCatalog to interpret WebDNA tags in .html files? (1997) Call For Entry: Third Annual Business on The Internet (BOTI)Awards (1999) [ShowCart] and GET vs. POST (1997)