Ok, now it makes sense.  So, if I add elementFormDefault="qualified"
the my schema, thusly:

<xsd:schema targetNamespace='http://www.someone.com/example'
           xmlns='http://www.someone.com/example'
           xmlns:xsd='http://www.w3.org/2001/XMLSchema'
           xmlns:xsi='http://www.w3.org/2001/XMLSchema-Instance'
           xml:lang="en" elementFormDefault="qualified">
  <xsd:element name="Root">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="AnElement" type="xsd:string"/>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
</xsd:schema>

And the document uses a default namespace such as was defined in
bad.xml, everything works, and AnElement and Root are both
in the default namespace (as opposed to unqualified).  Correct?

Thanks!


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to