[xsd-users] Any possibility of using MSXML rather than Xerces?

Boris Kolpackov boris at codesynthesis.com
Thu Oct 9 17:15:06 EDT 2008


Hi Chuck,

Mayne, Chuck (ICS-San Diego) <chuck.mayne at hp.com> writes:

> Is there any possibility of using MSXML as the DOM parser rather 
> than Xerces? If it is not possible with the current release, is 
> this feature on the roadmap for future support?

It is not possible and it is currently not on the roadmap. XSD is 
a cross-platform tool that is intended to work consistently across
all major operating systems. Supporting Windows-only MSXML in this
setting does not make much sense.

There is one thing that can be done, however. The XSD-generated 
code (for the C++/Tree mapping) works off Xerces-C++ DOM. So what
you can do is translate MSXML DOM to Xerces-C++ DOM and then feed
that to the XSD-generated code. This will allow you to use MSXML
for parsing. While the Xerces-C++ library is not small (about 1.7Mb
on Windows) one can strip off all the parsing code and only leave
DOM classes. This should reduce the library size dramatically.

Boris




More information about the xsd-users mailing list