Digital Media Web Blogs > Web

Schematron article on MSDN


Related link: http://www.msdn.microsoft.com/xml/default.aspx?pull=/library/en-us/dnxml/html/sc…

Dare Obasanjo has compiled a short introduction to Schematron (1.5) for the MicroSoft Developer Network. This is the first time (that I am aware of) that MS has had material promoting Schematron. Great! I think it springs from Daniel Cazzulino's work with Schematron.NET.
Maybe people are finally not seeing Schematron as a threat to their favourite grammar, but a highly pragmatic tool. I wonder whether the rise of unit testing (e.g. Java's JUnit) also has softened people's hearts towards open-model constraint checking in general (the former relying on the latter, of course).

Categories





AddThis Social Bookmark Button
Comments (1)
Read More Entries by Rick Jelliffe.

1 Comments

bazzargh said:

Schematron "support" in jdk 1.5?
I don't know if you spotted this already, but the new jdk 1.5 validation apis mention schematron support:
http://java.sun.com/j2se/1.5.0/docs/api/javax/xml/validation/package-summary.html

Its unclear how far they've taken this though, or if they've even attempted to build a schematron implementation. My reading is that you'd just be reporting errors via the SAX ErrorHandler, the rest of the API doesn't map too well to schematron concepts.

Another thing I've not tried yet (being on a Mac, no 1.5 for me :( ) is the new xpath api; it looks like teh default impl couldn't be used to build an xslt-less schematron as it only supports the core xpath api (ie no current() etc, as used in the torture tests).

Topics of Interest

Related Books

Recommended for You

Archives


 
 


Or, visit our complete archive.