Hello,
Is there a way to specify a default XML Schema namespace using the
Marshaller?
Both of the following statements:
marshaller.setNamespaceMapping("", "http://www.foo.org/test";);
marshaller.setNamespaceMapping(null, "http://www.foo.org/test";);
produce the following:
xmlns=""
in the root
Hi,
we have a problem with the default namespace using Castor 0.9.5.2
I tried both statements
marshaller.setNamespaceMapping("", "http://www.vpbank.com/ebanking";);
marshaller.setNamespaceMapping(null, "http://www.vpbank.com/ebanking";);
but it generates elements with de but the
xmlns=""
Hi Ranier,
To use namespaces in a mapping file you need to do the following:
1. declare the namespace, with an associated prefix
- the prefix can be anything, it's just used within the mapping file
to associate the namespace with the proper fields.
2. For all non root elements/attributes
Hello,
we have a problem with the default namespace using Castor 0.9.5.2
I tried both statements
marshaller.setNamespaceMapping("", "http://www.vpbank.com/ebanking";);
marshaller.setNamespaceMapping(null, "http://www.vpbank.com/ebanking";);
but it generates elements with de but the
xmln
Hi Florian
> > Humm, this is not really a good design to bound the XML
> > Schema namespace
> > to the default namespace and to a prefix, anyway it is allowed so it
> > should work.
> Oh I agree... as I said I have no control over the schema, other than
> give my feedback to the author of the sch
Hi Florian,
>
> I have been using Castor SourceGenerator for a while now and have find
it a
> great tool.
Thanks ;)
>
> However I have encountered the following problem when using
SourceGenerator
> to
> generate code from the following schema (BTW: I have no control over
the
> schema
> I *mus
Hi.
I have been using Castor SourceGenerator for a while now and have find it a
great tool.
However I have encountered the following problem when using SourceGenerator
to
generate code from the following schema (BTW: I have no control over the
schema
I *must* use it as is):
http://www.w3.org/20
Hi.
I have been using Castor SourceGenerator for a while now and have find it a
great tool.
However I have encountered the following problem when using SourceGenerator
to
generate code from the following schema (BTW: I have no control over the
schema
I *must* use it as is):
http://www.w3.org/20