Radu, We'll give it a try. Again though - we're fine with any specific namespace definition and having a fixed URL for those.
It's just the default namespace - e.g. for items that DO NOT have a namespace prefix - that we want to be able to have accept a floating URL. Thanks, DW -----Original Message----- From: Radu Preotiuc-Pietro [mailto:[EMAIL PROTECTED] Sent: Monday, November 20, 2006 8:00 PM To: user@xmlbeans.apache.org 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > _______________________________________________________________________ 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. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]