Matthias Grähn
Fri, 07 Sep 2007 05:37:14 -0700
Hi, I do have a problem. The following code throws a null pointer exception creating the document and it semms that it has to do with the praefix. String content = "<test:page><child id='1'>James</child></test:page>"; doc = DocumentHelper.parseText(content); If I do not use the preafic everything went well, but I need to parse XML from a string which contains also preafixes. Could someone please help me with this. What am I doing wrong or how could I do it a better way? Thanks Regards Matt
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ dom4j-user mailing list dom4j-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-user