Re: [dom4j-user] Parsing XML from string with praefix throws exception

2007-09-18 Thread Edwin Dankert
Because dom4j uses a namespace aware parser, you will need to map the prefix to a namespace-uri. http://www.test.com/";> James Regards, Edwin -- http://www.edankert.com/ - This SF.net email is sponsored by: Microsoft Def

[dom4j-user] Parsing XML from string with praefix throws exception

2007-09-07 Thread Matthias Grähn
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 = "James"; doc = DocumentHelper.parseText(content); If I do not use the preafic everything went well, but I need to parse XML from a