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

RE: Common XML (was Re: Document Feature Requirements)

  • From: David Hunter <david.hunter@m...>
  • To: "'xml-dev@x... '" <xml-dev@x...>
  • Date: Mon, 10 Apr 2000 10:51:58 -0400

feature of xml document
I've noticed a couple of posts which basically equate comments and PIs with
XML elements.  Is this really a common reasoning behind the work at SML-DEV?
(Perhaps I shouldn't use the word "common", in light of the new
nomenclature...)  I'm trying to understand the reasoning, a little bit.

I've seen people mentioning (perhaps not explicitly) that when you put a PI
into a document, it may not make it through round-tripping, and only certain
applications would know how to handle it; but that's the POINT.  A PI has a
PITarget - an application that knows what this PI means, and what it's
supposed to do with it.  Other applications don't (or shouldn't) need to
know about that PI.  (I'd also like to know why "round tripping" is of such
importance to Common XML, and what is meant by the term in this context.)

Along the same lines, people have worried that round-tripping documents
might lose comments, but again, that's fine.  I don't think treating XML
Comments as "comments" is just "attaching semantics"; that's what comments
*are*.  They're human-readable information which is inserted into the
document, and are not part of the document itself.

If Common XML is advocating that you don't do things like
<!--bgcolor='whatever'--> because it's not really part of the document, then
I'm right there with the SML-DEV developers.  But if they're saying that you
should instead include comment information in elements, so that they can
make it through this nebulous "round tripping" concept, then they've lost
me, because comments are not supposed to be part of the document, and we
shouldn't be treating them as such.

David Hunter

This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/


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.