cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in XML to XSD Conversion

Former Member
0 Kudos

Hi all,

I have converted a<b> XML to XSD</b> using the Stylus Studio.While Converting it was generating the multiple XSD's for that single XML file.After Generatiing the main XSD, and then i have checked and validated.

While validating it was throwing the error like GetAirCraft/GetAirCraft.xsd:2,102: FATAL ERROR: The attribute 'xmlns:xsd' is already used in element 'xsd:schema'.

so i removed the second shema which is same as <b>xmlns:xsd="http://www.w3.org/2001/XMLSchema"</b> and validated again it is refering some other sub XSD's with the same error. So i removed that schema again for all XSD's and validated all the XSD's it said that well formed.

Finally i have imported all the XSD's in to IR and then in SOURCE path of the each External Definitions(XSD) given the same name.

All XSD's are having the External References also.But i could not get the Structure of XSD what i need to achieve.

Can anyone help me to proceed further.

Thanks and Regards,

Kamal Kumar

Accepted Solutions (1)

Accepted Solutions (1)

GabrielSagaya
Active Contributor
0 Kudos

hi

You can download xomlite45.jar from sdn

copy the jar file to your java installation location like c:>javain

Java –jar xomLite45.jar MyFile.xml

then you get correspondig MyFile.xsd

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bf0e8a97-0d01-0010-f0a2-af3b18b7...

Former Member
0 Kudos

hi Gabriel,

Thanks for you valuable reply,Can you please send me the xomLite45.jar file to me or give me the URL where i can get this Jar File. I am not able to trace the location.

Thanks and Regards,

Kamal Kumar

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Kumar,

you XMLSPY by ALTOVA (makes ONE XSD).

Regards Mario