From: David C. <da...@ne...> - 2002-07-30 17:18:42
|
I'm still getting this error. Since no one replied I assumed either no one else is getting it or no one else has come across it yet. Anyway, I put together a small test program to show the error in action. I also tried it on the latest CVS version. At least I think this is the latest CVS version. It's tagged eXist-0.8 in the repository, but it seemed to have the latest commits, more recent than the 0.8beta build. I'm using the built in Tomcat, Java 1.4.0_01, JDom beta 8 and all other jars from the eXist build. I've tested it on Win2000 and Linux RH7.3 and both get the same error. Here is the error on windows: C:\Documents and Settings\David Cameron\Desktop\dsandbox\existtest>java ExistSAXTest exist://localhost:8080/exist/xmlrpc/db exist://localhost:8080/exist/xmlrpc/db XMLDBException in getDocument(): org.xmldb.api.base.XMLDBException: The name "" is not legal for JDOM/XML elements: XML names cannot be null or empty. at org.exist.xmldb.XMLResourceImpl.getContentAsSAX(XMLResourceImpl.java:144) at ExistSAXTest.getDocument(ExistSAXTest.java:23) at ExistSAXTest.main(ExistSAXTest.java:72) Here is a link to the test program: http://exist-errors.nexicon.ca If someone else could try the program on their installation and let me know if they get the same error? I'd really like to use getContentAsSAX() for performance reasons. Dave |