[xsde-users] xs:any and xs:anyAttribute
Boris Kolpackov
boris at codesynthesis.com
Fri Dec 30 08:26:40 EST 2011
Hi Jonathan,
Jonathan Haws <Jonathan.Haws at sdl.usu.edu> writes:
> --namespace-map http://www.w3.org/2001/XMLSchema=...
This option maps the Schema namespace (http://www.w3.org/2001/XMLSchema)
to a C++ namespace. You don't need to do this. What you need to do is
map the COT schema namespace to different C++ namespaces for each schema.
I have an old version (2.0) of COT schemas and I see they don't use XML
namespaces (there is no targetNamespace attribute). If that still holds,
then you will need to use something like this:
--namespace-map =sensor (when compiling the sensor schema)
--namespace-map =image (when compiling the image schema)
Boris
More information about the xsde-users
mailing list