DTD to XSD

Discussion in 'XML' started by mikea_59, Mar 5, 2008.

  1. mikea_59

    mikea_59 Guest

    Extracted from DTD:
    <!ELEMENT aaa (#PCDATA)>

    Why does the conversion using XmlSpy or some other tools turn out to
    be:
    <xsd:element name="aaa">
    <xs:complexType mixed="true"/>
    </xsd:element>


    When we expect the following:
    <xsd:element name="aaa" type="xsd:string"/>


    or maybe something like this

    <xs:element name="aaa">
    <xs:simpleContent>
    <xs:extension base="xs:string"/>
    </xs:simpleContent>
    </xs:element>

    Anyone know of a tool that will convert as we would expect?
     
    mikea_59, Mar 5, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Joseph Tilian
    Replies:
    0
    Views:
    380
    Joseph Tilian
    Dec 21, 2004
  2. Replies:
    1
    Views:
    407
    Stanimir Stamenkov
    Jan 21, 2005
  3. Ronald Fischer
    Replies:
    4
    Views:
    1,809
    Ronald Fischer
    Mar 17, 2005
  4. Matt
    Replies:
    3
    Views:
    37,345
    MKNDK
    Sep 11, 2008
  5. test
    Replies:
    2
    Views:
    2,194
    Oliver Wong
    Jul 28, 2006
Loading...

Share This Page