[xsd-users] Compilation Error of Generated Files (FpML)

Cuneyt.Karadag at akbank.com Cuneyt.Karadag at akbank.com
Fri Apr 8 07:44:55 EDT 2011


Hi all,

Our appliactions run on Solaris environment and we would like like to produce an FpML message for a given trade.
To be able to do this we have downloaded the file named xsd-3.3.0-sparc-solaris.tar.gz  from http://www.codesynthesis.com/products/xsd/download.xhtml

Besides we have also downloaded the xsd files for this issue from http://www.fpml.org/

Then we have generated the .cc & .h files (totally 37 files related with FpML) with command xsd under bin directory as shown below.
.../xsd-3.3.0-sparc-solaris/bin/xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 .../xsd-3.3.0-sparc-solaris/bin/fpml-4-7-7-rec-2/xml/fpml-main-4-7.xsd

.../xsd-3.3.0-sparc-solaris/bin/xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 .../xsd-3.3.0-sparc-solaris/bin/fpml-4-7-7-rec-2/xml/fpml-fx-4-7.xsd

.../xsd-3.3.0-sparc-solaris/bin/xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 --namespace-map http://www.w3.org/2000/09/xmldsig#=xmldsig .../xsd-3.3.0-sparc-solaris/bin/fpml-4-7-7-rec-2/xml/xmldsig-core-schema.xsd

...
...  etc.


Under the source directory we have created our makefile and we finally tried to compile our .cc files  we got too many compilation errors. We have tried the different to be able to solve these problems but we could not.
".../include/xsd/cxx/xml/dom/auto-ptr.hxx", line 4: Error: "," expected instead of "namespace".
".../include/xsd/cxx/xml/dom/auto-ptr.hxx", line 16: Error: A declaration was expected instead of "}".
".../include/xsd/cxx/xml/dom/auto-ptr.hxx", line 22: Error: No primary specialization for partial specialization remove_c.
".../include/xsd/cxx/xml/dom/auto-ptr.hxx", line 145: Error: A declaration was expected instead of "}".
".../include/xsd/cxx/xml/dom/auto-ptr.hxx", line 146: Error: A declaration was expected instead of "}".
".../include/xsd/cxx/xml/dom/auto-ptr.hxx", line 147: Error: A declaration was expected instead of "}".
".../include/xsd/cxx/xml/dom/auto-ptr.hxx", line 148: Error: A declaration was expected instead of "}".
".../include/xsd/cxx/tree/elements.hxx", line 760: Error: dom is not a member of xsd::cxx::xml.
".../include/xsd/cxx/tree/elements.hxx", line 676: Error: dom is not a member of xsd::cxx::xml.
".../include/xsd/cxx/tree/elements.hxx", line 677: Error: dom is not a member of xsd::cxx::xml.
".../include/xsd/cxx/xml/bits/literals.hxx", line 4: Error: Multiple declaration for _HXX.
".../include/xsd/cxx/xml/bits/literals.hxx", line 4: Error: "," expected instead of "namespace".
".../include/xsd/cxx/xml/bits/literals.hxx", line 71: Error: A declaration was expected instead of "}".
".../include/xsd/cxx/xml/bits/literals.hxx", line 72: Error: A declaration was expected instead of "}".
".../include/xsd/cxx/xml/bits/literals.hxx", line 73: Error: A declaration was expected instead of "}".
".../include/xsd/cxx/xml/bits/literals.hxx", line 74: Error: A declaration was expected instead of "}".
".../include/xsd/cxx/xml/bits/literals.ixx", line 22: Error: "inline" is not allowed here.
".../include/xsd/cxx/xml/bits/literals.ixx", line 22: Error: A class template name was expected instead of xml_prefix.
".../include/xsd/cxx/xml/bits/literals.ixx", line 22: Error: A declaration was expected instead of "<".
".../include/xsd/cxx/xml/bits/literals.ixx", line 22: Error: A declaration does not specify a tag or an identifier.
".../include/xsd/cxx/xml/bits/literals.ixx", line 22: Error: Use ";" to terminate declarations.
".../include/xsd/cxx/xml/bits/literals.ixx", line 22: Error: A declaration was expected instead of ">".
".../include/xsd/cxx/xml/bits/literals.ixx", line 23: Error: There must be an identifier to declare.
".../include/xsd/cxx/xml/bits/literals.ixx", line 127: Error: A declaration was expected instead of "}".
".../include/xsd/cxx/tree/parsing.txx", line 216: Error: first is not defined.
Compilation aborted, too many Error messages.
*** Error code 1
make: Fatal error: Command failed for target `fpml-main-4-7.o'
@hazdev1%

Could you please help us how to accomplish this issue?

Thanks.
Regards.

Cuneyt  Karadag, Mr.








________________________________
[http://www.akbank.com/images/disclaimer.jpg]<http://www.akbank.com/disclaimer.asp>

Bu e-posta ve muhtemel eklerinde verilen bilgiler kişiye özel ve gizli olup, yalnızca mesajda belirlenen alıcı ile ilgilidir. Size yanlışlıkla ulaşmışsa lütfen göndericiye bilgi veriniz, mesajı siliniz ve içeriğini başka bir kişiye açıklamayınız, herhangi bir ortama kopyalamayınız. Bu mesaj aksi sözleşme ile belirtilmedikçe herhangi bir finansal işlem teklifi, alımı, satımı veya herhangi bir havalenin teyidi gibi bankacılık işlemi yapılması amacını taşımamaktadır. Verilen tüm bilgilerin doğruluğu ve bütünlüğünün garantisi verilmemekte olup, önceden bildirilmeksizin değiştirilebilecektir. Bu mesajın içeriği Bankamızın resmi görüşlerini yansıtmayabileceğinden Akbank T.A.Ş. hiçbir hukuki sorumluluğu kabul etmez.


More information about the xsd-users mailing list