cancel
Showing results for 
Search instead for 
Did you mean: 

XSD Error

Former Member
0 Kudos

I'm getting following error when I import external definition ( XSD File ) into XI. Can some one tell me whats problem here. WHat wrong at row 2 col 4 ??

Thanks in advance..

XSD:

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

<xsd:schema xmlns="http://www.test.com/omi" targetNamespace="http://www.test.com/omi" version="1158762544985" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<xsd:complexType name="com.test.platform.omi.AbstractEntity" abstract="true">

<xsd:annotation>

<xsd:documentation>

This is the root of all entities.

</xsd:documentation>

</xsd:annotation>

<xsd:sequence />

</xsd:complexType>

<i>Document check found errors Cause: The loaded document does not contain valid XML Error when parsing XML document com.sap.aii.utilxi.xml.xdom.XDOMException$ParseError: Error when parsing the XML document (Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) a0d, 783c, 6473(:main:, row:2, col:4))</i>

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Ram,

I think there is a problem in the XSD itself. Can you please validate in any of editors like XML spy etc.

---Satish

Former Member
0 Kudos

my trial version of XMLSpy ended and this XSD was supplied by 3rd party customer. They says they didn't get any error.

Former Member
0 Kudos

Ram,

Just change the system date to some previous month or so and check out.

--Satish

Former Member
0 Kudos

I just opened in notepad and changed encoding to UTF-8

It worked. Thanks

Former Member
0 Kudos

Ram,

Good to know that it worked.

---Satish

Former Member
0 Kudos

Thx