[xsd-users] Problem running cxx-parser on Mac in Xcode 4.2 using
xerces-c (v 3.1.1)
Vaughan at roberts.name
Tue Dec 20 04:55:49 EST 2011
Thanks Boris I will give initialising xerces-c a try.
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?
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
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
Mob: 0412 122 362
From: Boris Kolpackov [mailto:boris at codesynthesis.com]
Sent: Tuesday, 20 December 2011 19:57
To: Vaughan Roberts
Cc: xsd-users at codesynthesis.com
Subject: Re: [xsd-users] Problem running cxx-parser on Mac in Xcode 4.2
using xerces-c (v 3.1.1)
Vaughan Roberts <Vaughan at roberts.name> writes:
> I had to compile the xerces-c library (v 3.1.1) using g++ in Xcode
> (because I also wanted to run it on the arm7 architecture as well).
Note that we haven't tested Xerces-C++/XSD on iPhone (either hardware or
simulator). Generally, we recommend that people use XSD/e on this
> I am now getting a runtime exception (termination) in what looks like
> the cxx-parser code, though it may be located elsewhere. The file I am
> trying to parse works on the Windows box, so the problem is probably
> not due to that.
If the same code works on other platforms, then this is most likely a
> This is what gdb is giving me shortly before the application terminates:
> #0 xsd::cxx::xml::auto_initializer::~auto_initializer
> (this=0xbfffd9f8) at
The auto_initializer destructor terminates the Xerces-C++ runtime.
What you may want to try is initialize Xerces-C++ yourself (see, the
'performance' example) and then pass the dont_initialize flag to the
document's parse() function.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5360 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20111220/b08754e9/smime.bin
More information about the xsd-users