[xsd-users] redefinition error

Guy Kroizman kroiz at hyperroll.com
Mon Apr 2 05:19:53 EDT 2007


Thanks, that works great.

On 4/1/07, Boris Kolpackov <boris at codesynthesis.com> wrote:
>
> Hi Guy,
>
> Guy Kroizman <kroiz at hyperroll.com> writes:
>
> > How can I make all the generated code be in its own namespace?
>
> Use the --namespace-map option. If your schema does not have a
> target namespace, you can still use this option with empty string
> indicating XML Schema namespace, e.g.,
>
> --namespace-map =my_namespace
>
> Will generate code for no-namespace schemas in my_namespace C++
> namespace. For more information about this option see the XSD
> compiler manual:
>
> http://www.codesynthesis.com/projects/xsd/documentation/xsd.xhtml
>
> hth,
> -boris
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5 (GNU/Linux)
>
> iQGVAwUBRg+6sciAKQuuCE8dAQLyLAv/cyiftY9TFJYVx7KUF7v0KcW1v0m0wdYb
> zUch4Lx2m0/789X5LXly5Blj/aokm8q4EdiGFoEhd1HRrIxNWz945VgF+dI7lJk1
> pKnNr+tJz/fFFGk9RIMa0QZer9wVP5Yq9Oqk9MjehRRh84cy6fACHZEi9tDUJ3R1
> PwmEIq7HpdW3e+O4562NWH4qFdusq1We4DWKW4SJjfg9pcDtBDf/MlWYYQVtb8mR
> ujnmBwBCSls3B0kaxWsqxPM2uXLxAXhPS+BpqJ31Mah0bT1pXkgVZpPUTTV1lZ24
> U3jKMpZDgLa5yBtMfL1bCedKqMoI9fXODbx4ajMov6rv9PmocF/WNfyQSMjIlwVa
> tDdnXH2YIs6zYEy2CvUYmAvvU9e3Yj7jm9EIEHj2QCFbT38Y5NQYmp4FHNKUXvbJ
> Z8RH+quWQaNQfkRiwv93rKt/B0yQo7ai7P9lwMNlWEvxsPsJJwP/deqUFIapYVFA
> /iuafrMYYGUzI1Hw9FEp3J9jkVkTTcny
> =JIQl
> -----END PGP SIGNATURE-----
>
>


-- 
Q: What do agnostic, insomniac dyslexics do at night?
A: Stay awake and wonder if there's a dog.



More information about the xsd-users mailing list