You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Sridhar Raju Y <sr...@infy.com> on 2001/11/20 12:49:37 UTC
problem with xsd:element
Hi !
I am unable to parse the following document.
Its raising exception --> org.xml.sax.SAXParseException: Element type
"xsd:element" must be declared.
what could be the problem.Can anybody help in this regard.any pointers
will be great.
<?xml version="1.0" encoding="UTF-8"?>
<package namespace="http://www.xxx.com"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="Demo.xsd"
>
<message name="mesg" type="request">
<annotation >
This is of type 'response' and forms the output for
FullOrder module of Manufacturing.
The response element is of type Boolean.
</annotation>
<xsd:element name="customerId" type="xsd:string"/>
<xsd:element name="orderId" type="xsd:string"/>
</message>
</package>
Thanks,
Sridhar.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org