Thank you. Yes It was a mistake elsewhere that I was calling a overloaded
method of my class without the xmloptions.
Thanks and sorry for the misleading post. (Would it be possible for the
admin to delete this thread?)
Thanks
Radu Preotiuc-Pietro-2 wrote:
>
> Hm, this works for me, can you give more details of why do you say it is
> not working and maybe a Schema snippet, maybe there is an error
> somewhere else; the code is good.
>
> Radu
>
> On Wed, 2009-01-28 at 19:07 -0500, pattabi wrote:
>> String product =
>> "<Products><ProductCd>LOCNW110</ProductCd><ProductCd>LOCNF160</ProductCd><ProductCd>LOCNG100</ProductCd><ProductCd>LOCNA500</ProductCd></Products>";
>> try {
>> ProductsDocument doc =
>> ProductsDocument.Factory.parse(product,new
>> XmlOptions().
>>
>> setLoadSubstituteNamespaces(Collections.singletonMap(
>> "",
>> "http://reportordr")));
>> } catch (XmlException e1) {
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
--
View this message in context:
http://www.nabble.com/setLoadSubstituteNamespaces-not-working-for-me-tp21718188p21744953.html
Sent from the Xml Beans - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]