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 element, when the desired output would seem to be:

xmlns="http://www.foo.org/test";

The setNamespaceMapping() method works fine with a non-null or non-empty
prefix parameter.

Thanks,

Rich Trevor

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to