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

Re: Deterministic Content Models (was DTD ( From EliotteRustHa

  • From: Rob Lugt <roblugt@e...>
  • To: David Brownell <david-b@p...>, xml-dev <xml-dev@l...>
  • Date: Thu, 27 Sep 2001 16:50:31 +0100

xml dtd recover
David Brownel wrote

> > "For compatibility, it is an error if an element in the document can
match
> > more than one occurrence of an element type in the content model. For
more
> > information, see E Deterministic Content Models."
> >
> > ... the "For Compatibility" clause does
> > not indicate that an XML processor is free to ignore the constraint.
>
> The "it is an error" clause indicates that.  If it's just an "error",
> not a "fatal error" or "validity error", reporting is optional.
> That's what the definitions section says up front.

While we're being pedantic ;-) there is no phrase "validity error" in the
document, but we all know what you mean.

The definition for "error" is defined as:
[Definition: A violation of the rules of this specification; results are
undefined. Conforming software may detect and report an error and may
recover from it.]

So, a processor may report the error, and may recover from it.  But the
results are undefined.

Our XML Validator reports non-deterministic content models as errors for
good reason.  We believe that our users want a validator to be as strict and
as accurate as possible ~ thereby maximising the chance that their xml will
be readable by any processor on any platform.

Regards

~Rob

Rob Lugt
ElCel Technology
http://www.elcel.com

[1] http://www.elcel.com/products/xmlvalid.html



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.