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

Re: UPA and schema handling


.xml nondeterministic dtd
Elliotte Harold wrote:

 > I don't know about W3C schemas, but the XML spec is not at all clear
 > that a non-deterministic content model in a DTD is an error. Indeed some
 > versions of Xerces have not so flagged it.

It's actually pretty clear. Section 3.2.1 says "For compatibility, it is 
an error if the content model allows an element to match more than one 
occurrence of an element type in the content model." The phrase "for 
compatibility" doesn't weaken the constraint; it's an error.

The later reference to the non-normative section E doesn't weaken the 
constraint, either. Whatever section E says, it's non-normative.

Many processors over time haven't flagged non-deterministic models as 
errors or haven't done so correctly, either because it's a lot easier 
not to check or the authors didn't like the constraint. Many people 
don't like the constraint. That doesn't mean it isn't an error.

 >
 > Section E of the spec is classified as non-normative, and even that only
 > says "XML processors built using SGML systems may flag non-deterministic
 > content models as errors." It does not say they are required to do so.
 > And what about XML processors not built on top of SGML systems?

What about 'em?

Bob Foster



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.