cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to find root element in XML Schema when Syndicating (SAP MDM)

Former Member
0 Kudos

Hi experts,

We are having a problem with our Syndication.

We have created an XML Schema using XML Spy. We need a namespace, and this is 70 characters long (in other words, far shorter than maximum at 255 characters).

<xs:schema xmlns:ns="http://schemas.xxxxx.com/ServiceManagement/ServiceMasterDataFromMDM/0.3" xmlns:xs="http://www.xxxxx.org/2001/XMLSchema" targetNamespace="http://schemas.xxxxxx.com/ServiceManagement/ServiceMasterDataFromMDM/0.3" elementFormDefault="unqualified" attributeFormDefault="unqualified">

When opening the xml schema file in Syndicator, the root field is disabled.

If we remove namespace in heading of xml schema, the root field is enabled, and the root element is correct.

How can we make use of the XML schema when we need namespace?

We have tried to add namespace annotation ns: to all type definitions:

<xs:element name="ServiceCategory" type="ns:ServiceCategoryType">

This did not help.

Please advice.

KR,

Thomas

Edited by: Thomas on Mar 2, 2011 2:12 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

>>We need a namespace, and this is 70 characters long

If you want namespace to appear in XML and your XSD has it too. please add the namespace under "URI" attribute in XML schema in Console.

You need to import the XSD in Console first, specify namespace under URI and then use this to build syndication map.

Thanks

Aamir

Answers (0)