Altova Mailing List Archives


XDR to XSD converter?

From: "Karol Zielonko" <karol.zielonko@-----.--->
To: <xml-dev@-----.---.--->
Date: 2/27/2009 3:48:00 AM
We have an old XDR file that we'd like to convert to an XSD. Any comments as 
to what's out there (if anything)?

We've tried a few avenues already with no joy:

Tried the MS XSLT based option:

http://www.microsoft.com/downloads/details.aspx?FamilyID=5F6505A1-359E-47BF-8963-F4AFFAF87566&displaylang=en

The XSD it generated started with 1000+ errors which weren't too tough to 
fix - coupla hours of work - but then when validating a known-good XML 
against it - 900 errors. Ahh, no.

The IBM Java tool at:

http://alphaworks.ibm.com/tech/xdrtoxsd

is retired, source long gone.

Tried the Visual Studio xsd.exe tool at:

http://msdn.microsoft.com/en-us/library/x6c1kb0s(VS.80).aspx

but that tool dumbed down the schema, for example, turning the enumerations 
into type xs:string.

Maybe some XML editor out there can do it? I couldn't figure out how to make 
Oxygen do it.

Anybody tried the SQL Server tool?

Any other ideas?

Thanks in advance,

Karol

Disclaimer

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.