[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RNG and examples (was: AD Review Comments and Questions: draft-ietf-atompub-format-07)




Scott Hollenbeck wrote:


The document includes an informative RELAX NG schema and several examples.
What has been done to confirm that the schema is free of errors and that all
of the examples given in the document are valid according to the schema?  (I
could check an XML Schema myself, but I don't have the tools I need to check
RELAX NG.)

The draft is generated from an RFC2629 XML file which contains no schema fragments or examples. The schema fragments are generated from the full schema. To create the text version, the schema, fragments, and examples are inserted in a SAX pipeline, and xml2rfc.tcl generates the draft from the resulting document. Since the schema and examples are stored in separate files, it's easy to check them with a command-line validator. I use James Clark's Jing[0].


Robert Sayre

[0] http://www.thaiopensource.com/relaxng/jing.html