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]