Re: [xml-dev] Create DB Structure based on Schema/DTD set

From
Thomas B. Passin <>
To
Date
2003-09-18T04:20:41Z
ID
<00da01c37d9c$3982a7e0$6501a8c0@tbp1>
Thread
Re: [xml-dev] Create DB Structure based on Schema/DTD set
[Phil Fuhlman]

Looking at your 'resume.xsd' file, I'm no expert, but there's no single root
element defined.

[Tom P]
An XML Schema has no way, in general, to designate a unique root element for
a document.

[Phil Fuhlman]

After a quick read of your schema i made an very brief complimentary XML
doc:

<StructuredXMLResume>
    <ContactInfo>yyy</ContactInfo>
</StructuredXMLResume>
<NonXMLResume>
    <TextResume>zzz</TextResume>
</NonXMLResume>

which - regarless of schema - won't load:

[Tom P]
Obviously not, since without a single root it is not even XML - but beside
the point because of the point mentioned above.

Cheers,

Tom P