Hi, I have a problem round tripping this schema ...

<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
        <xsd:attribute name="test" form="unqualified"/>
</xsd:schema>

it outputs this:

<xsd:schema xmlns="DEFAULT"
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
attributeFormDefault="unqualified" elementFormDefault="unqualified"
targetNamespace="DEFAULT">
<xsd:attribute form="unqualified" name="test"/>
</xsd:schema>

Is there a reason XmlSchema.targetNamespace is initialized to
"DEFAULT" and not null. If I initialize to null I get the correct
schema (without xmlns or targetNamespace declarations).

Just wanted to get some feedback before I fix.

Thanks,
Jeremy

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

Reply via email to