Hi,

>I am trying to execute the following code:
>
>SAXReader reader = new SAXReader(true);
>Document doc = reader.read("foo.xml");
>
>I am getting a DocumentException:
>
>org.dom4j.DocumentException: Not logged in Nested exception: Not logged in
>
>at org.dom4j.io.SAXReader.read(SAXReader.java:321)     
>at org.dom4j.io.SAXReader.read(SAXReader.java:219)
>
>Does anyone have any clues as to what the problem may be?

Seems to me, that you underlying SAXParser have problems finding the source
"foo.xml" or the source is not well formed (SAXParseException is caught at l
321 in SAXReader).
Which parser are you using? How does your source looks alike? Can you post
it? If not can you view it in a xml aware browser like Mozilla or IE ?

Hope that helps.

Bye
Toby

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to