[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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.
[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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|