Skip to Content
0
Former Member
Mar 02, 2011 at 01:10 PM

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

451 Views

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).

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