Hi,

I have an application where I want to use the <xsd:any namespace = "##other" ... mechanism. Unfortunaltely I'm not able to get this to work. What am I doing wrong?

---------------other.xml-----------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<elem xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="other.xsd">
<other:test xmlns:other = "http://kai/test.xsd";>
<other:kaka>Bulle</other:kaka>
</other:test>
</elem>



--------------other.xsd------------------------------------------------------------------------ <?xml version="1.0" encoding="UTF-8"?> <xsd:schema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema";> <xsd:element name="elem"> <xsd:complexType> <xsd:sequence> <xsd:any namespace = "##other" processConetents = "strict" /> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema>

I  get the error messages:
[Error] Element type "other:test" must be declared.
[Error] Element type "other:kaka" must be declared.

If I snoop the network I see that no request is made to http://kai to get the test.xsd to verify the other:* stuff. How do I force the parser to get the test.xsd to verify the data?

Thanks!

/Peter


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



Reply via email to