in

Platinum Bay

Peace, Love and Visual Studio Team System

.NETicated

Xml Schemas – Part 2

As I posted previously, I have issues. For the purpose of this discussion we'll limit it to my issues relate to working with Xml Schemas.

I have found more fodder for my discussion. Anything pre-version 2.0 in OFX was laid out in DTDs, not XSDs. For XSDs, .NET has the System.Xml.Schema namespace. There does not seem to be any way of parsing a DTD in .NET. So I have to convert the DTD to an XSD. I open up XMLSpy, load the DTD, and go to "DTD/Schema > Convert DTD/Schema…". Unfortunately, XMLSpy does not like the DTD, "DTD Document expected." So I go to the W3C validator, and it doesn't like it either; root elements and such.

I find out that the DTD's are not XML DTDs, but SGML DTDs. Apparently nobody supports SGML DTD's, not Visual Studio, not XMLSpy, not Stylus Studio. So I convert them to XML format, and then to XSD's using XMLSpy. But they are still not correct, at least compared to the 2.x OFX schemas.

So maybe I was a bit hasty taking the schema providers off the hook in my previous post. If the schema isn't to spec, how can anything use it? The OFX specifications were created by Intuit, Microsoft and CheckFree. You would think with Microsoft's hand in it, the schemas would be compatible with their development tools, but I am not above admitting that may just be an uninformed assumption on my part.

So the underlying question remains, who's responsible for the lack of interoperability between published schemas and the development tools?

Published Apr 19 2007, 03:38 AM by Steve
Filed under: , , ,

Comments

No Comments

Leave a Comment

(required )  
(optional )
(required )  
Add

About Steve

Steve Andrews has been working as a developer for more than 8 years. During this time, he has designed and developed applications in such widely varying areas as trust accounting, medical information management, supply chain management, and retail systems. He has firsthand developer experience with a variety of languages, including Java, VB, and .NET. Most recently, he has been immersed in SharePoint. He is currently employed at RDA Corporation in Philadelphia, PA, as a Software Engineer and a team member in the Architectural Guidance evangelism team. Steve is also an MTCS (x2), ICSOO, and .NET fanatic.
Powered by Community Server (Commercial Edition), by Telligent Systems
© Platinum Bay | Some Rights Reserved Creative Commons License

Disclaimer: The information in this weblog is provided "AS IS" with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion. Feel free to challenge me, disagree with me, or tell me I'm completely nuts in the comments section of each blog entry, but I reserve the right to delete any comment for any reason whatsoever (abusive, profane, rude, or annonymous comments) - so keep it polite, please.