W3C home > Mailing lists > Public > xml-editor@w3.org > October to December 2001

DTD to Schema converter

From: Stanley Guan <Stanley.Guan@oracle.com>
Date: Mon, 03 Dec 2001 10:21:38 -0800
Message-ID: <3C0BC2B2.6A26224@oracle.com>
To: xml-editor@w3.org, xmlschema-dev@w3.org

I am working on a converter to convert DTD declarations to Schema
declarations.   After reading the XML spec., I am still not clear what's

the expected result for the following DTD declarations:
   <!ELEMENT abc ANY>
For this declaration, it does NOT have associated attribute type
declarations with element type "abc".

For a validating processor, does this mean:
    1) element "abc" can have any attributes (i.e. wildcard attributes
in Schema), or
    2) element "abc" cannot have any attributes?

Note that the only thing I read in XML spec. is:
   All attributes for which no declaration has been read should be
   by a non-validating processor as if declared CDATA.


Received on Monday, 3 December 2001 13:21:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:37:41 UTC