[xsd-users] mapping to C++ namespace problem

Senthurchelvan, Rasiah - 1002 - MITLL Rasiah.Senthurchelvan at ll.mit.edu
Tue May 31 11:32:45 EDT 2016


When I gave the following command,

$codesynthesis/xsd-4.0.0-x86_64-linux-gnu/bin/xsd    cxx-tree
--namespace-map http://some-oms-website.mil/=SomeCppNamespace
/codesynthesis/xsd-4.0.0/examples/cxx/tree/hello/OMS_Extension_IE6_ExportCon
trolled.xsd

 

I am encountering the following problem:

 

***.xsd: warning T004: generating parsing functions for 13 global elements

***.xsd: info: use --root-element-* options to specify document root(s)

***.xsd:3:268: error: unable to map XML Schema namespace
'http://some-oms-website.mil/' to C++ namespace

***.xsd:3:268: info: use the --namespace-map or --namespace-regex option to
provide custom mapping

 

So when I gave the above command I keep getting the same error switching
between 'http://some-oms-website.mil/' and 'http://uas-c2-initiative.mil/'
on the third line indicated as error, over and over again.

 

Any help is much appreciated.

 

 

Thanks,

Rasiah

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


More information about the xsd-users mailing list