Cover Pages Logo SEARCH
Advanced Search
ABOUT
Site Map
CP RSS Channel
Contact Us
Sponsoring CP
About Our Sponsors

NEWS
Cover Stories
Articles & Papers
Press Releases

CORE STANDARDS
XML
SGML
Schemas
XSL/XSLT/XPath
XLink
XML Query
CSS
SVG

TECHNOLOGY REPORTS
XML Applications
General Apps
Government Apps
Academic Apps

EVENTS
LIBRARY
Introductions
FAQs
Bibliography
Technology and Society
Semantics
Tech Topics
Software
Related Standards
Historic

Updated version of DTD to XML Schema tool


Date:      Thu, 11 Jan 2001 14:51:44 -0800
From:      Mary Holstege <holstege@mathling.com>
To:        xml-dev@lists.xml.org
Subject:   [ANN] Updated version of DTD to XML Schema tool

I am attaching an updated version of the Perl script that is available on the W3C site [1]. This new version makes the following changes:

  • Use the CR syntax instead of the April draft syntax

  • Add support for an external mapping file for type aliases, simple types, model, attribute, and substitution groups

  • Map ANY correctly to wildcard rather than element 'ANY'

  • Support treating lead PCDATA as string or other aliased simple type instead of as mixed content (may be more appropriate for data-oriented DTDs) e.g., <!ELEMENT title (#PCDATA)> => <element name="title" type="string"/>

  • Support subsitution groups (simplistically).

For the record: this update has no official standing. I am for the present putting this on my own website as well [2].

It is worth pointing out that this tool does not produce terribly high quality schemas, but it is a decent starting point if you have existing DTDs.

Mary
Holstege@mathling.com

See:
[1] http://www.w3.org/2000/04/schema_hack/
[2] http://www.mathling.com/xmlschema/


Prepared by Robin Cover for The XML Cover Pages archive.


Globe Image

Document URL: http://xml.coverpages.org/holstegeDTD-to-Schema200101.html