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

James Weinkam jweinkam at enbala.com
Mon Mar 7 10:38:17 EST 2016


I have been using CodeSynthesis XSD version 3.3.0.
CodeSynthesis XSD XML Schema to C++ compiler 3.3.0
Copyright (C) 2005-2010 Code Synthesis Tools CC

and recently upgraded to 4.0.0
CodeSynthesis XSD XML Schema to C++ compiler 4.0.0
Copyright (c) 2005-2014 Code Synthesis Tools CC

The following command line worked with the old version, but now results in a segmentation fault.

xsd cxx-tree --generate-polymorphic --polymorphic-type-all --generate-ostream --generate-wildcard --generate-serialization --generate-forward --namespace-map http://openadr.org/oadr-2.0b/2012/07=oadr --namespace-map http://docs.oasis-open.org/ns/energyinterop/201110=ei --namespace-map http://docs.oasis-open.org/ns/emix/2011/06=emix --namespace-map http://www.opengis.net/gml/3.2=gml --namespace-map "http://www.w3.org/2009/xmldsig11#=dsig11" --namespace-map http://www.w3.org/2000/09/xmldsig#=ds --namespace-map http://openadr.org/oadr-2.0b/2012/07/xmldsig-properties=dsp --hxx-suffix .h --cxx-suffix .cpp oadr_20b.xsd

The xsd schema files are from the openADR alliance, and can be downloaded from http://www.openadr.org/specification.

I am unable to get CoseSynthesis 4.0.0 to generate the .h and .cpp files for the openADR 2.0b profile schema and would appreciate any help that can be provided.

Thanks,
James


More information about the xsd-users mailing list