Have you tried this with the CVS version?
The SchemaWriter has had a number of updates since the last release. Thanks, --Keith "A.J. Cantu" wrote: > > Hello, > > I was trying out your DTD->XSD converter, and I came accross an unexpected > result. The simple type NMTOKEN is in the built-in datatype name space, so it > should be referred to with the corresponding prefix, which is "xsd" in this > case, but there is no prefix in the result. Please let me know if I am > mistaken. > > -Arthur > > dtd file: > <!ENTITY % boolean "(true|false)"> > > <!ELEMENT fileset (#PCDATA)> > <!ATTLIST fileset > casesensitive %boolean; #IMPLIED> > > xsd file: > <?xml version="1.0"?> > <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > <xsd:element name="fileset"> > <xsd:complexType mixed="true"> > <xsd:attribute name="casesensitive"> > <xsd:simpleType> > <xsd:restriction base="NMTOKEN"> <!--should be "xsd:NMTOKEN"?--> > <xsd:pattern value="\c+"/> > <xsd:enumeration value="false"/> > <xsd:enumeration value="true"/> > </xsd:restriction> > </xsd:simpleType> > </xsd:attribute> > </xsd:complexType> > </xsd:element> > </xsd:schema> > > ----------------------------------------------------------- > If you wish to unsubscribe from this mailing, send mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
