[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
Sun Dec 18 23:28:11 EST 2011


Hi,

 

I have developed and run an application using cxx-parser on a Windows box
under Cygwin and it all works well.  I now want to run the same code on a
Mac using Xcode as the development environment.  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).

 

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.  This is what gdb is giving me shortly before the application
terminates:

 

(gdb) bt

#0  xsd::cxx::xml::auto_initializer::~auto_initializer (this=0xbfffd9f8) at
elements.hxx:100

#1  0x00052c0e in xsd::cxx::parser::xerces::document<char>::parse
(this=<value temporarily unavailable, due to optimizations>, uri=<value
temporarily unavailable, due to optimizations>, f={x_ = 0, static
dont_validate = 1, static dont_initialize = 2, static no_multiple_imports =
4}, p=@0xbfffd9f8) at elements.txx:99

#2  0x0000badf in xsd::cxx::parser::xerces::document<char>::parse
(this=0xbfffdc18, uri=0x7a7b0e0 "/Users/vaughan/Library/Application
Support/iPhone
Simulator/5.0/Applications/94F9BDE9-70AB-40BA-84BA-76B0BE94C8DF/Documents/Ke
w_v_Balwyn_16 Dec 2011.xml", f={x_ = 0, static dont_validate = 1, static
dont_initialize = 2, static no_multiple_imports = 4}, p=@0xbfffdbf0) at
elements.txx:110

 

I hope someone can recognise the cause of why this is terminating and help
me short-cut the diagnostic stage J.

 

 

Best regards,
Vaughan


Mob: 0412 122 362

 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5360 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20111219/1f77c083/smime.bin


More information about the xsd-users mailing list