See perhaps Bug 23597
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23597>(includes patch)?
-Terry
Mark Eggers wrote:
Folks,
It looks like bug id 13746 has crept back in. I'll do
the following as noted by Terry Rosenbaum to get
around the problem.
org.apache.xindice.xml.dom.DocumentImpl
Comment out these 2 lines:
importNamespaces(importedNode, clone);
importNamespaces(importedNode, result);
and rebuild.
====================
How tested
====================
I did the following:
cvs -d \
:pserver:[EMAIL PROTECTED]:/home/cvspublic \
co xml-xindice
cd xml-xindice; ./build.sh
cd dist; mv xindice-1.1b2.war xindice.war
Used the Tomcat Manager application (4.1.27) to
install xindice.war.
Set XINDICE_HOME to the xml-xindice source directory.
Added $XINDICE_HOME/bin to $PATH
Created a new collection - addissue
Added 100 xml documents with addmultiple
Verified with the ugly debug tool and xindice lc . .
Ran the following xpath query:
xindice xpath -c \
xmldb:xindice://localhost:8080/db/addissue \
-q /[EMAIL PROTECTED]"1"]
This generates a document with every element
containing
xmlns:src="http://xml.apache.org/xindice/Query".
With the size documents I am using, this creates about
a 38% bloat.
==================
Environment
==================
Redhat Linux 9 2.4.20-20.9
j2sdk 1.4.2_02-b03
Tomcat 4.1.27
Dell 8200 1.8 GHz, 768 MB memory.
/mde/
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/