From: Tobias W. <li...@o2...> - 2004-11-25 11:12:49
|
Hi Pierre, I checked again by removing the "<" and ">". It still doesn't work. I = can store the document, retreive it but cannot access it using XPathAPI. Greetings, Tobias -----Original Message----- From: Pierrick Brihaye [mailto:pie...@cu...]=20 Sent: Thursday, November 25, 2004 11:35 AM To: Tobias Wunden Cc: exi...@li... Subject: Re: [Exist-open] Index out of bounds at getTreeLevelOrder() Hi, Tobias Wunden a =E9crit : > Hi Evereybody, >=20 > I have a question concerning reading an XmlResource from eXist using=20 > getContentAsDom(). The XmlResource I get from eXist seems ok to me,=20 > the root Node returned by resource.getContentAsDom() looks as I = expect: ... and that's strange because your XML is not well-formed : > <survey xmlns:exist=3D"http://exist.sourceforge.net/NS/exist" = exist:id=3D"1" > exist:document=3D"7c4887fab4006ead8b462235b454c658.xml"> > <date>2004/11/24 17:42:31 GMT</date> > <from><in...@o2...></from> --------------^------------^ It this an element ? If so, it isn't terminated, is it ? I this a text content ? If so, it isn't escaped porperly. Or maybe it is a cut and paste issue ? IMHO, it's worth investigating :-) Cheers, -- Pierrick Brihaye, informaticien Service r=E9gional de l'Inventaire DRAC Bretagne mailto:pie...@cu... +33 (0)2 99 29 67 78 |