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

Re: a puzzling schema promise

  • From: Rick Jelliffe <rjelliffe@allette.com.au>
  • To: "Simon St.Laurent" <simonstl@simonstl.com>
  • Date: Wed, 10 Apr 2013 15:39:20 +1000

Re:  a puzzling schema promise
Yes, it does not seem right for most schema languages.

This is because of their pass/fail or PSVI approaches.  Something is valid or invalid against a schema, rather than having a processing or semantic status assigned to it.

I suppose DTDs and XSD can model "must accept"  by implying an attribute value to elements they know about.  Schematron can let you assign roles to assertions or patterns, typically error, warning, note,  and potentially other properties.

The most commonly used standard way to do this is Microsoft's "secret weapon" for futureproofiing which is the MCE (Markup Compatability and Extensibility) spec. It is part of OOXML but used by them in many other places. There is no equivalent in ODF (I tried to propose adopting MCE but some mix of NIH and the reality of the more limited resources of the ODF developers was against it). ISO is currently rewriting the MCE to be more implementable, I believe.  MS has documentation on how they use it in OOXML at
     http://msdn.microsoft.com/en-us/library/gg548604%28v=office.12%29.aspx

For MCE,  the approach is to do things by markup rather than schemas. Primarily chunks or information units, not individual elements.  Makes sense.


Cheers
Rick


On Wed, Apr 10, 2013 at 8:06 AM, Simon St.Laurent <simonstl@simonstl.com> wrote:
Press releases are often a better place to find an explanation of what specifications are meant to do than the specifications themselves.  The W3C in particular has had strong press operation for a long time, and generally conveyed its plans for specifications pretty well.

Based on that theory, I've been exploring the archive of schema-related press releases, and found this odd sentence.  The opening is just the usual prior agreement promise, but I'm not sure what to make of the conclusion:

--------------------------------------------------
When XML is used to exchange technical information in a multi-vendor environment, schemas will allow software to distinguish data governed by industry-standard and vendor-specific schemas, and help applications know when it is safe to ignore information they do not understand, and when they must not do so.
--------------------------------------------------

This sounds more... intricate than validation, but I'm guessing that's all it really is.  Is there something more to "when it is safe to ignore information they do not understand, and when they must not do so"?

That last bit seems to expand to "must not [ignore information they do not understand]".  That fits quite nicely in the approach I'm describing - but not so much with any XML Schema application I've encountered.

Any thoughts?

Thanks,
--
Simon St.Laurent
http://simonstl.com/

_______________________________________________________________________

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@l....org
subscribe: xml-dev-subscribe@l....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]


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.