you are trying to reference p in the null namespace. You need to bind a prefix to the xhtml namespace and then
reference it via that prefix.
Gareth
Mirko Braun wrote:
Hi all,
i would like to parse a XML file validating against a Schema A. And this Schema A includes
another Schema B (defines XHTML tags) . The code below shows the include mechanism of Schema B
in Schema A.
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:include schemaLocation="xhtml.xsd"/>
The Schema A uses one XHTML tag (<p>) as a part of a ComplexType (please see below) definition.
<xsd:element maxOccurs="unbounded" minOccurs="0" type="p" name="p"/>
When i parse my XML file. The parser create following error messages:
"Type not Found in :p"
"Untyped element :p"
Can anybody help me?
Thanks in advance,
Mirko
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
Gareth Reakes, Managing Director Parthenon Computing
+44-1865-811184 http://www.parthcomp.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]