XSchema: DTD-to-XSchema Converter


From       owner-xml-dev@ic.ac.uk Fri Jul 17 12:32:19 1998
Date:      Fri, 17 Jul 1998 18:50:23 +0200
From:      rbourret@dvs1.informatik.tu-darmstadt.de (Ron Bourret)
Subject:   XSchema: DTD-to-XSchema converter
To:        xml-dev@ic.ac.uk

An early version of the DTD-to-XSchema converter is now available from:

http://www.informatik.tu-darmstadt.de/DVS1/staff/bourret/xschema/dtdtoxschema.html.

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 rbourret@dvs1.informatik.tu-darmstadt.de. 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:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)