From firstname.lastname@example.org Fri Jul 17 12:32:19 1998 Date: Fri, 17 Jul 1998 18:50:23 +0200 From: email@example.com (Ron Bourret) Subject: XSchema: DTD-to-XSchema converter To: firstname.lastname@example.org
An early version of the DTD-to-XSchema converter is now available from:
This is a SAX parser that parses a DTD and generates SAX XSchema events. Also included is a small SAX application that prints these events to a file, so you can easily convert your DTD files to XSchema files.
A few major caveats (see the Web page for minor caveats):
* NO ENTITY SUPPORT. I'll try to get this in next week, but what it means right now is that you have to replace entities with actual values before running them through the converter.
* STANDALONE DTDs ONLY. For the moment, the converter only reads standalone DTDs (which match the production extSubset). The only real effect is that you can't have (namespace) PIs in the external subset. Is there any reason to support DTDs in the instance file?
* SPEC. This supports the latest version of the spec, which will probably be outdated by Monday. Note that the reverse converter (XSchemaToDTD) has not been updated for the latest version of the spec, so those of you wanting to chain them together will just have to wait.
As usual, send your bugs and other abuse to me at email@example.com. Have fun!
-- Ron Bourret
[Note: See also Ron Bourret's XSchema Page and Simon St.Laurent's XSchema Page. The XSchema project is a cooperative effort aimed at producing an XSchema specification, which, "when complete, will provide a means for XML developers to describe their XML document structures using XML document syntax." - rcc ]
xml-dev: A list for W3C XML Developers. To post, mailto:firstname.lastname@example.org Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:email@example.com the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:firstname.lastname@example.org the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:email@example.com)