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

Re: Towards XML 2.0

  • From: Michael Sokolov <sokolov@ifactory.com>
  • To: Pete Cordell <petexmldev@codalogic.com>
  • Date: Mon, 06 Dec 2010 07:24:35 -0500

Re:  Towards XML 2.0
I think I 'm convinced by the argument that a comment is not an element;

an element is a first-classed parsed language construct with internal 

a comment is almost by definition something out of band and essentially 
not part of the language (or contains something not part of the language)

Making comments well-formed is a bit weird, although the restriction 
could be workable. However, the idea that special rules are required to 
prevent comments from being processed (just like any other element) 
gives me the willies.

I really don't think having a "special" syntax for comments is something 
that gives newbies any pause whatsoever - every language has that.  I 
guess I would just hope that we could allow nesting of comments:

<!-- disable all of this:

<!-- once upon a time we thought this was a good idea: -->
<stuff />
<not well -formed -- so what...

Would this break something fundamental that I don't understand?

-Mike Sokolov

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.
First Name
Last Name
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.