logo       

RE: Accepting any URL on the default namespace declaration: msg#00032

text.xml.xmlbeans.user

Subject: RE: Accepting any URL on the default namespace declaration

Ok, so then XmlOptions.setLoadSubstituteNamespaces(Map) is the closest
to what you need, but it does not have the ability to substitute ANY
namespace in the incoming document with the one you specify. In the
general case, the document may contain multiple different namespaces and
it would be strange to just replace all of them.

Radu

On Mon, 2006-11-20 at 17:38 -0500, Webber, David (NIH/OD) [C] wrote:
> Radu,
>
> Clarification - all I want to be able to change is the default namespace
> URL.
>
> Obviously - I agree for specific namespaces they should be tied to URLs.
>
> Just in this case we've gone out of our way to remove dependencies - and
> this one kinda nipped us in the foot!
>
> Here's what we're thinking:
>
> <mydoc xmlns="http://myprodsys.com/";>
> <data_goes_here/>
> </mydoc>
>
> And then a partner may want to send us:
>
> <mydoc xmlns="http://his_testsys.com/";>
> <data_goes_here/>
> </mydoc>
>
> I'm looking at all the settings for XmlOptions - the static Booleans and
> their names - but its hard figure out what does which?!
>
> Thanks, DW
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@xxxxxxxxxxxxxxxxxxx
> For additional commands, e-mail: user-help@xxxxxxxxxxxxxxxxxxx
>
_______________________________________________________________________
Notice: This email message, together with any attachments, may contain
information of BEA Systems, Inc., its subsidiaries and affiliated
entities, that may be confidential, proprietary, copyrighted and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise