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

Re: UPA and schema handling


xml schema non deterministic xerces

Norman Walsh wrote:

> / Elliotte Harold <elharo@m...> was heard to say:
> | 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 version=
> s of
> | Xerces have not so flagged it.
>
> From=203.2.1 of XML 1.0 3e, it seems pretty clear to me:
>
>    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.
>
> Granted, "for compatibility" says, in short, we didn't have to do it
> this way, but we did for SGML compatibility. I don't think that
> negates the normative weight of the rest of the sentence though.


But even SGML doesn't require conforming systems to report
this condition; [4.267] says an ambiguous content model is not
a "reportable markup error".

(That's probably because nobody knew *how* to detect this condition
until 1992 when Anne Bruegemann-Klein figured it out, but still...)

Anyway, AIUI the consensus in the SGML world was that
the prohibition against ambiguous content models was
overly restrictive and unnecessary.  That W3C XML Schema
retained the restriction was a big mistake, IMO, one
that could easily have been avoided by not conflating
validation with annotation.


--Joe English

  jenglish@f...

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.