[xsd-users] Segmentation fault running xsd with openADR 2.0b profile schema

James Weinkam jweinkam at enbala.com
Wed Mar 16 13:46:27 EDT 2016


I have now successfully compiled, linked, and run our small test program that load and parses some sample OpenADR xml files, as well as create some XML files.

Thanks,
James

-----Original Message-----
From: xsd-users-bounces at codesynthesis.com [mailto:xsd-users-bounces at codesynthesis.com] On Behalf Of James Weinkam
Sent: March 16, 2016 9:00 AM
To: xsd-users at codesynthesis.com
Subject: RE: [xsd-users] Segmentation fault running xsd with openADR 2.0b profile schema

In 3.3, I had used --cxx-prologue '#include "oadr_ei_20b.h"' for a few of the xsd files, and this then enabled compiling by forcing this one header to get included before others so that all the necessary types were defined before being referenced.

Eventually, I will need the FreeBSD port, but for now I can test out with the linux version.  I will let you know if I have any more problems.

Thanks,
James

-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com] 
Sent: March 16, 2016 8:44 AM
To: James Weinkam <jweinkam at enbala.com>
Cc: xsd-users at codesynthesis.com
Subject: Re: [xsd-users] Segmentation fault running xsd with openADR 2.0b profile schema

Hi James,

Ok, I've fixed this bug and build a pre-release binary for you to try:

http://codesynthesis.com/~boris/tmp/xsd/xsd-4.1.0.a8-x86_64-linux-gnu.tar.bz2

It compiles all the openADR schemas, however, I wasn't able to compile the generated C++. It looks like the schema uses recursive self-inclusion and will need the file-per-type mode. Were you able to make it work with XSD 3.3 in the file-per-schema mode?

Boris




More information about the xsd-users mailing list