synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From indika kumara <indika.k...@gmail.com>
Subject XPath evaluation doesn't work on resources picked from registry
Date Fri, 19 Jun 2009 07:30:23 GMT
Devs

$subject is due to we do  'detach()'  on picked resource OMElement .
If I add detached element to a OMDocument as a child, it works

Existing code  SImpleURLRegistry

result.detach();
inputStream.close();


Modified code

result.detach();
OMDocumentImpl omDocument = new OMDocumentImpl();
omDocument.addChild(result);
inputStream.close();


Are there any best solution other than what I did ?  I haven't deep
AXIOM knowledge?  Could anyone help me?

Thanks
Indika

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message