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

Which is the Authority: The Schema or the Text?

  • From: cbullard@hiwaay.net
  • To: xml-dev@lists.xml.org
  • Date: Thu, 19 Dec 2013 10:51:18 -0600

Which is the Authority:  The Schema or the Text?
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


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


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.