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

Re: CDATA sections in W3C XML Infoset

  • From: Richard Tobin <richard@c...>
  • To: xml-dev@l...
  • Date: Sun, 01 Apr 2001 00:42:49 +0100 (BST)

cdata xml conform
>> I'd take that as meaning that the DOM does not conform to the
>> Infoset spec.  Accordingly, the DOM is what needs to be changed, not
>> Infoset.

First of all, the quoted claim was not that the DOM did not conform to
the Infoset because it reported CDATA sections, but that it did not
conform because it didn't have a simple way to convert all CDATA nodes
to text nodes.

But it was mistaken even in that respect: the Infoset imposes no
constraints on what a standard may specify, only on how it specifies
it.  It defines vocabulary for standards to use.  In the case of CDATA
sections, it doesn't define any vocabulary so a spec that wants to
refer to CDATA sections has to use its own terminology.  The DOM will
just do that (as it does now).

Here is the full text of the conformance section of the current
infoset draft, in the hope of preventing further misunderstanding:

 3. Conformance

 Since the purpose of the Information Set is to provide a set of
 definitions, conformance is a property of specifications that use
 those definitions, rather than of implementations.

 Specifications referring to the Infoset must:

  Indicate the information items and properties that are needed to
  implement the specification. (This indirectly imposes conformance
  requirements on processors used to implement the specification.)

  Specify how other information items and properties are treated (for
  example, they might be passed through unchanged).

  Note any information required from an XML document that is not
  defined by the Infoset.  

  Note any difference in the use of terms defined by the Infoset (this
  should be avoided).

 If a specification allows the construction of an infoset that has
 inconsistencies as described above under Synthetic Infosets it may
 describe how those inconsistencies are to be resolved, and should do
 so if it provides for serialization of the infoset.

-- Richard

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.