[xsd-users] Problem running cxx-parser on Mac in Xcode 4.2 using xerces-c (v 3.1.1)

Boris Kolpackov boris at codesynthesis.com
Wed Dec 21 07:51:42 EST 2011


Hi Vaughan,

Vaughan Roberts <Vaughan at roberts.name> writes:

> Looking over the XSD/e documentation I gather that it provides its own
> runtime library rather than relying on xerces-c (or Expat), is this 
> correct?

Yes, it only depends on its own runtime (libxsde). There are no external 
dependencies.


> In order to use it on the arm7 architecture I will need to compile the
> runtime library for that platform, though I can use your binary for the
> simulator.

Actually, the XSD/e package for Mac OS X comes with pre-built XSD/e
compiler as well as source code for the runtime. So you will need to
build the runtime for both the hardware and the simulator. Look into
the etc/ directory in the package, it contains sample config files
and build instructions for various platforms, include iOS.


> Given the time I have spent on development using cxx-parser, is the parser
> implementation similar enough between that and XSD/e to port it across with
> minimal effort?

Yes, the C++/Parser mapping in XSD/e is very similar to C++/Parser in XSD,
especially if you configure XSD/e with STL and C++ exceptions enabled.

Boris



More information about the xsd-users mailing list