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

Re: UPA and schema handling


schema upa
Have a look at XML spy 2004's FAQ:

http://www.xmlspy.com/support_faq_ide_schema.html#q6_schema

It says in part:

    In our opinion the detection of a non-deterministic model
    as an error in a DTD or Schema would be wrong, and we will
    not implement this.

Sounds to me as if they're ignoring a normative portion of the spec, and 
don't consider this a bug....

Bob Foster wrote:

> I don't think the problem is people ignoring parts they don't like. The 
> spec isn't easy to understand or to implement and there is no concept of 
> certification. Anyone can claim to process XML Schema regardless of the 
> actual coverage of their implementation. (In fact, the existence of 
> several partially conformant "implementations" is an important milestone 
> in obtaining Recommendation status for the spec.) In such an 
> environment, people ship what they can get away with and work the bug 
> list over time.
> 
> Bob
> 
> Ian Graham wrote:
>  > Seems unfortunate that vendors can just ignore normative portions of a
>  > spec. I can understand differences in implementation where the spec is
>  > complex, or unclear. But ignoring parts you don't like is simply goofy.
>  > To reuse your phrase, I would have to call that "bad art" rather than
>  > "state of the art" ;-/
>  >
>  > Best --
>  > Ian
>  > Bob Foster wrote:
>  >
>  >> Unique particle attribution is normative and not optional, but not all
>  >> processors check it correctly and some processors check it optionally.
>  >> Of course that leads to interoperability errors, and not just around
>  >> UPA, but that's the state of the art.
>  >>
>  >> Bob Foster
>  >> http://xmlbuddy.com/
>  >>
>  >> Ian Graham wrote:
>  >>  > I've been fiddling around with very simple schemas that violate the
>  >> UPA
>  >>  > constraint -- and have found that some schema tools flag UPA errors
>  >>  > (e.g. oXygen), while others (e.g. XML spy) do not. This 
> inconsistency
>  >>  > is, at best, confusing -- but at worst would seem to lead to
>  >>  > interoperability problems, since a designer could build a schema 
> with
>  >>  > one toolset and find it is not acceptable to another.
>  >>  >
>  >>  > So am I missing something here?  Is UPA really an inviolable
>  >> constraint
>  >>  > [my interpretation], or is it just a guideline, in the manner of
>  >>  > Appendix E 'Deterministic Content Models (Non-Normative)' in the
>  >> XML 1.0
>  >>  > specification?  And if it's just a guideline, would this not lead to
>  >>  > interoperability problems as I've just outlined?
>  >>  >
>  >>  > And, if someone already went down this rat hole, can anyone refer
>  >> me to
>  >>  > the corresponding xml-dev (or other) thread ;-)
>  >>  >
>  >>  > Best --
>  >>  >
>  >>  > Ian
>  >>
>  >>
>  >
> 
> 

-- 
Ian Graham
H: 416.769.2422 / W: 416.513.5656 / E: <ian . graham AT utoronto . ca>

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.