|
RE: Accepting any URL on the default namespace declaration: msg#00032text.xml.xmlbeans.user
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> |
|---|---|---|
| Previous by Date: | RE: Accepting any URL on the default namespace declaration: 00032, Webber, David \(NIH/OD\) [C] |
|---|---|
| Next by Date: | issue with namespace: 00032, gopi.rcr |
| Previous by Thread: | RE: Accepting any URL on the default namespace declarationi: 00032, Webber, David \(NIH/OD\) [C] |
| Next by Thread: | RE: Accepting any URL on the default namespace declaration: 00032, Webber, David \(NIH/OD\) [C] |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |