Chapter 12: Other Schema Languages

Listings

In the following listings, we save also save the files with the names given to them in the text of the book so you can use them in examples if you'd like. If it's not a standard file extension, we save it as a text file for your perusal.

Listing 12.1: contact.xml L1201.xml

Listing 12.2: contact.dtd L1202.dtd

Listing 12.3: contact.rlx, RELAX grammar for contact.xml L1203.txt

Listing 12.4: contact.trex, a TREX schema for contact.xml L1204.txt

Listing 12.5: contact.rng, a RELAX NG schema for contact.xml L1205.txt

Listing 12.6: contact_schematron.sch, a Schematron Schema for contact.xml L1206.txt

Listing 12.7: contact.xdr L1207.txt

URLs

Links to RELAX validators www.xml.gr.jp/relax

Part 2 of the W3C XML Schema Recommendation www.w3.org/TR/xmlschema-2

J. David Eisenberg's tutorial "Validating XML with RELAX" http://catcode.com/relax_tut/index.html

J. David Eisenberg's article "Learning to RELAX&" www.xml.com/pub/a/2000/10/16/relax/index.html

The RELAX home page www.xml.gr.jp/relax

The RELAX FAQ www.xml.gr.jp/relax/faq-e.html

The tutorial "HOW TO RELAX" www.xml.gr.jp/relax/html4/howToRELAX_full_en.html

A DTD-to-RELAX converter www.horobi.com/Projects/RELAX/Archive/DTD2RELAX.html

A Java implementation to validate TREX www.thaiopensource.com/trex/jtrex.html

J. David Eisenberg's article "TREX Basics" www.xml.com/pub/a/2001/04/11/trex.html

The TREX home page www.thaiopensource.com/trex

The TREX specification www.thaiopensource.com/trex/spec.html

James Clark's extensive TREX tutorial www.thaiopensource.com/trex/tutorial.html

RELAX NG version 0.9 www.oasis-open.org/committees/relax-ng/spec-20010811.html

A Java implementation to validate RELAX NG www.thaiopensource.com/relaxng/jing.html

Quote from the RELAX NG home page www.oasis-open.org/committees/relax-ng/index.shtml

RELAX NG specification www.oasis-open.org/committees/relax-ng/spec-20010811.html

The RELAX NG Tutorial www.oasis-open.org/committees/relax-ng/tutorial-20010810.html

Non-XML Syntax for RELAX NG www.thaiopensource.com/relaxng/nonxml/syntax.html

RELAX NG–The XML Cover Pages by Robin Cover http://xml.coverpages.org/relax-ng.html

The RELAX NG page www.thaiopensource.com/relaxng

The OASIS Technical Committee RELAX NG page www.oasis-open.org/committees/relax-ng

The RELAX NG DTD Compatibility Annotations www.oasis-open.org/committees/relax-ng/annotate-20010810.html

Guidelines for using W3C XML Schema datatypes with RELAX NG www.oasis-open.org/committees/relax-ng/xsd-20010907.html

Quote from an interview with Simon St.Laurent www.xmlhack.com/read.php?item=121

The Resource Directory (RDDL) for Schematron 1.5 www.ascc.net/xml/schematron

Instant Saxon http://users.iclway.co.uk/mhkay/saxon

schematron-basic.xsl www.ascc.net/xml/schematron/1.5/basic1-5/schematron-basic.xsl

skeleton1-5.xsl www.ascc.net/xml/schematron/1.5/skeleton1-5.xsl

Schematron XSLT style sheets on the Schematron site www.ascc.net/xml/schematron/1.5

The Schematron home page www.ascc.net/xml/resource/schematron/schematron.html

A short Schematron tutorial www.zvon.org/HTMLonly/SchematronTutorial/General/contents.html

The Schematron 1.5 specification www.ascc.net/xml/schematron/1.5/

"Schematron: validating XML using XSLT" by Leigh Dodds www.ldodds.com/papers/schematron_xsltuk.html

The sample Schematron schema for the WAI Guidelines and a corresponding test XML file on the Schematron-Basic page www.ascc.net/xml/schematron/1.5/basic1-5/schematron-basic.html

"Validating XML with Schematron," an article by Chimezie Ogbuji www.xml.com/lpt/a/2000/11/22/schematron.html

"Extending XML Schemas" by Roger Costello www.xfront.com/ExtendingSchemas.html

BizTalk site www.biztalk.org

XDR schema language is based on the W3C XML-Data Note from January 1998 www.w3.org/TR/1998/NOTE-XML-data

Document Content Description (DCD) for XML www.w3.org/TR/NOTE-dcd

MSXML http://msdn.microsoft.com/downloads/default.asp?URL=/code/sample.asp?url=/msdn-files/027/001/677/msdncompositedoc.xml

"Content Model" http://msdn.microsoft.com/library/en-us/xmlsdk30/htm/xmconcontentmodel.asp

"Extensibility" http://msdn.microsoft.com/library/en-us/xmlsdk30/htm/xmconextensibility.asp

More details on SQL annotations http://msdn.microsoft.com/library/en-us/xmlsql/ac_mschema_78q1.asp

"BizTalk Framework Overview" www.biztalk.org/home/framework.asp

BizTalk Schema Repository www.biztalk.org/library/search_objects.asp (Note that you must become a registered user to assess this material. Go to www.biztalk.org/home/newuser.asp to register.) New registration URL www.biztalk.org/home/newuser.asp

"Introduction to XDR Schemas" in the Microsoft.com library http://msdn.microsoft.com/library/en-us/xmlsdk30/htm/xmconintroductiontoschemas.asp

"XDR Schema" in the Microsoft.com library http://msdn.microsoft.com/library/default.asp?url=/library/en-us/comsrv2k/htm/cs_rp_xmlrefcatalog_ffdb.asp

"Comparative Analysis of Six XML Schema Languages" by Dongwon Lee and Wesley Chu www.cobase.cs.ucla.edu/tech-docs/dongwon/ucla-200008.html

RELAX NG DTD Compatibility Annotations www.oasis-open.org/committees/relax-ng/annotate-20010810.html

"Schemarama" by Leigh Dodds www.xml.com/pub/a/2001/02/07/schemarama.html

"Daring to Do Less with XML" by Michael Champion www.xml.com/pub/a/2001/05/02/champion.html

"Time for Consolidation" by Leigh Dodds www.xml.com/pub/a/2001/06/06/deviant.html