Skip to Content
0
Former Member
Apr 15, 2010 at 10:50 AM

error while creating xsd

27 Views

Hi Experts,

I am preparing one XSD with two namespaces but it's throwing following error:

My xsd is looks like following:

<?xml version="1.0" encoding="UTF-8"?>

http://www.w3.org/2001/XMLSchema" xmlns:eanucc="urn:ean.ucc:2">

<sh:element name="StandardBusinessDocument">

</sh:element>

<eanucc:element name="Message">

</eanucc:element>

</sh:schema>

Error: Element <eanucc:element> is not allowed under element <sh:schema>

Please let me know how do I correct this error.

Thanks-

Rams.