cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

XSD problem

Former Member
0 Likes
491

Hi SDNers,

As we r using MDM sp06 therefore we have to use Xsd while importing but it showing error when we r using standard business content XSD .From where can i find xsd for the xml file iam using .Is we have to use an XMl spy?

If yes then recommend which one we should use?

or

there is a other way round?

Thanks in advance,

Neethu JOY

View Entire Topic
Former Member
0 Likes

Hi Neethu,

Remove the Namespace from the XSD file and add the XSD in the XML Schema table of the repository. Now try to import the XML file.

Regards,

Jitesh Talreja

Former Member
0 Likes

Hi Jitesh,

Thanks for your reply.Could you please tell me where is this Namespace in xsd file ?Iam attaching part of xsd file.Is the highlighted one the namespace you are referring to.

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

<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="EDI_DC40">

<xs:complexType>

<xs:sequence>

<xs:element name="TABNAM" type="xs:string" />

<xs:element name="MANDT" type="xs:unsignedShort" />

<xs:element name="DOCNUM" type="xs:unsignedShort" />

<xs:element name="DOCREL" type="xs:unsignedShort" />

<xs:element name="STATUS" type="xs:unsignedByte" />

<xs:element name="DIRECT" type="xs:unsignedByte" />

<xs:element name="OUTMOD" type="xs:unsignedByte" />

<xs:element name="IDOCTYP" type="xs:string" />

<xs:element name="MESTYP" type="xs:string" />

<xs:element name="SNDPOR" type="xs:string" />

<xs:element name="SNDPRT" type="xs:string" />

<xs:element name="SNDPRN" type="xs:string" />

<xs:element name="RCVPOR" type="xs:string" />

<xs:element name="RCVPRT" type="xs:string" />

<xs:element name="RCVPRN" type="xs:string" />

<xs:element name="CREDAT" type="xs:unsignedInt" />

<xs:element name="CRETIM" type="xs:unsignedInt" />

<xs:element name="SERIAL" type="xs:unsignedLong" />

Regards,

Neethu Joy.

Former Member
0 Likes

Hi,

Remove this line

<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified"

and try...

Regards

Himanshu

Former Member
0 Likes

Hi Neethu,

<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">

Remove the below part from the above statement

xmlns:xs="http://www.w3.org/2001/XMLSchema"

Regards,

Jitesh Talreja