[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: genx - consensus items


Re:  genx - consensus items
David Tolpin:
> Rich Salz:
> > > I'm inclined to agree.  A teeny bit more complexity in the
> > > implementation but probably worth it.  Anyone want to push back? -Tim
> > 
> > asymnmetry is bad.  open-close, begin-end, etc.
> 
> The idea was to improve asymmetry, not to defeat it, I think.
> 
> startTag
>   attribute*
>   text
> endTag
> 
> But in this case startTag is not start 'Tag', it is startElement/endElement.
> 
> Not that I like this approach, just explaining. Simple logic is better than
> complex.

That is, startElement/endElement are good for building a tree, but inadequate
for serializing,

startTagOpen
  attribute
startTagClose

  Text

endTag

are simpler and more natural for serialization tasks. I'd keep the startTagClose

David

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.