XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Which is the Authority: The Schema or the Text?

Which one says what an instance means?  For me at least, that question
is not orthogonal to yours.  It goes to the heart of yours.  Your
question is (I take it): how should the conflict be resolved?

If you know what the offending instance is supposed to mean, you have
the best available evidence for resolving the conflict.  The purpose of
an instance isn't to conform to a schema or to a spec.  Rather, the
purpose of an instance is to convey information.

On 12/19/2013 11:51 AM, cbullard@hiwaay.net wrote:
> A mundane question:  given a specification with schemas and text
> descriptions of values, if these are in conflict which one is
> authoritative?  IOW, would you ignore the text and use the schema values
> as declared, or modify the schema to match the text>?
> 
> All too often, upstream data designers are not reading the schemas. 
> Instead they rely on the text examples (eg, diagrams or instances).  So
> one sees problems such as a string specification with multiple parts
> that are declared as a pattern (regex) and the parts and patterns don't
> match (e.g., lengths are not the same).  I suspect this is a result of
> having multiple spec authors and insufficient quality checks in
> implementations.   Normally one would report these and it gets cleaned
> up but when the spec is already in the field, yadda.
> 
> len
> 
> _______________________________________________________________________
> 
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
> 
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS