Search This Blog

Monday, October 15, 2007

ISO Schematron Gets More Standards Uptake

W3C's Services Modeling Language group has two new drafts out: Services
Modeling Language 1.1 (latest version) and Service Modeling Language
Interchange Format Version 1.1 (latest version). SML comes out of the
XML activity at W3C, not the WS-* activity, so it seems more aimed at
working on top of POX (plain ole' XML) systems. It has representation
from IBM, Sun, BEA, CA, Intel, HP and a Microsoft. WS has a bad rep at
the moment for over-engineering, but that is partly because many people
have problems that they want to be solved by the almost-simplest possible
technology. The would prefer erring on the side of modesty rather than
grandiosity. SML has nothing directly to do with services despite the
name, and nothing to do with modeling for that matter either: that just
seems to be the use-case that has driven the development of a more general
technology that takes seriously the problem 'How do we validate systems
of documents, including documents held in multiple files and documents
that transclude other documents?', which seems to be an entirely
practical question to me: this is the kind of use case that should be
driving XSD and DSDL development IMHO. In SML, definition documents are
either schema documents that use W3C XML Schemas (with a completely
reworked version of XSDs key/keyref mechanism allowed under appinfo that
handles multi-file references), or rules documents that use ISO Schematron
(vanilla XSLT query language with a slightly extended XPath). A whole
Schematron schema is plonked into the appinfo element rather than using
the Eddie Robertsson' minimal form for embedded Schematrom... In other
Schematron news, I see that it is being used by the RELAXED online HTML
validator, on SourceForge. This project is a good demonstration of using
the ISO DSDL little schema langauges together: NVDL, RELAX NG, and
Schematron. NVDL and RELAX NG are also used in Open XML, and ODF was
defined using RELAX NG. More Information See also Schematron references: Click Here

No comments: