Hi,

I tried to parse the xml string to XML Document using ECMA Script.

ECMA Script is

var domDocument = new
Packages.com.novell.xml.parser.SAXParserImpl();
var stringreader = new Packages.java.io.StringReader(stringWriter);
var inputsource = new
Packages.org.xml.sax.InputSource(stringreader);
var docu = domDocument.parse(inputsource);

But i am getting the error

com.novell.nds.dirxml.engine.VRDException: Code(-9131) Error in
vnd.nds.stream:/LAB/services/Drivers/eDirectory+Driver+80/Subscriber/Testing:49
: Error evaluating XPATH expression
'token-xpath("es:serialize($lvMappingTable)")' :
com.novell.xml.xpath.XPathEvaluationException: Wrapped
java.lang.NullPointerException
(vnd.nds.stream:/LAB/services/Drivers/eDirectory+Driver+80/CheckArrayList#37).
Code(-9131) Error in
vnd.nds.stream:/LAB/services/Drivers/eDirectory+Driver+80/Subscriber/Testing:49
: Error evaluating XPATH expression
'token-xpath("es:serialize($lvMappingTable)")' :
com.novell.xml.xpath.XPathEvaluationException: Wrapped
java.lang.NullPointerException
(vnd.nds.stream:/LAB/services/Drivers/eDirectory+Driver+80/CheckArrayList#37).

Please help me on this?


--
nansarasureAig
------------------------------------------------------------------------
nansarasureAig's Profile: http://forums.novell.com/member.php?userid=20122
View this thread: http://forums.novell.com/showthread.php?t=367318