From: Jean-Marc V. <jm...@fr...> - 2004-04-05 10:53:47
|
Le 04/05/2004 12:36 PM, Alexandre Liduena a écrit : > Hello, > > In local mode, I get an > >java.lang.ArrayIndexOutOfBoundsException: -1 > at >org.exist.dom.DocumentImpl.getTreeLevelOrder(DocumentImpl.java:462) > at org.exist.dom.NodeImpl.getParentGID(NodeImpl.java:347) > at org.exist.dom.NodeImpl.getParentNode(NodeImpl.java:357) > at >org.apache.xml.dtm.ref.DTMManagerDefault.getDTMHandleFromNode(DTMManagerDefault.java:603) > at >org.apache.xpath.XPathContext.getDTMHandleFromNode(XPathContext.java:220) > at org.apache.xpath.XPathAPI.eval(XPathAPI.java:283) > at >org.apache.xpath.XPathAPI.selectNodeIterator(XPathAPI.java:172) > at org.apache.xpath.XPathAPI.selectSingleNode(XPathAPI.java:133) > at org.apache.xpath.XPathAPI.selectSingleNode(XPathAPI.java:113) >... > >using XPath query applyed on node returned by getContentAsDOM() method >of XmlResource class, whereas rpc mode works correctly. I have tried >both 1.0b1 & lastest cvs snapshot, and I am using lastest xalan.jar > > Have you a bug resolution in work or any suggestion to this ? > > There are some restrictions on queries on in-memory Documents that are not clear to me. But this is transitory since Wolfgang plans to work on that. I you tell more about your queries, maybe a workaround can be found. Ideally, a complete zip with a shell script to reproduce the problem would be apreciated. > Regards, > > Alexandre Liduena. > > > -- Jean-Marc Vanel 01 39 43 31 46 Conseil et Services / développement & intégration logiciels Logiciel libre, Web, Java, XML ... A la pointe de la technique, au service des projets http://jmvanel.free.fr/ ===) CV, software resources Mes journaux: - sujets généraux en Français: http://jmvanel.free.fr/Block-note.html - sujets informatiques en Français: http://jmvanel.free.fr/notes-informatiques.html - computer science diary : http://jmvanel.free.fr/computer-notes.html Worldwide Botanical Knowledge Base http://wwbota.free.fr/ test XML query engine: http://jmvanel.free.fr/protea.html |