[xsd-users] Need help for a Newbie...

Boris Kolpackov boris at codesynthesis.com
Fri Mar 2 13:27:44 EST 2007


Hi,

Jitendra.Sakhamuri <jitendra.sakhamuri at c-mci.com> writes:

> The error I am running into is
> Universal.xsd:5:46: error: unable to map XML Schema namespace
> 'http://niem.gov/niem/universal/0.2' to C++ namespace

It also says in the next line:

Universal.xsd:5:46: info: use the --namespace-map or --namespace-regex
option to provide custom mapping

You can use, for example, this command line:

xsd cxx-tree --namespace-map http://niem.gov/niem/universal/0.2=universal Universal.xsd

I also suggest that you use the --morph-anonymous option.

hth,
-boris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: Digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20070302/ff29c197/attachment.pgp


More information about the xsd-users mailing list