You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Mark Eggers <it...@yahoo.com> on 2003/11/21 01:46:11 UTC

Namespace issues (again)

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:anoncvs@cvs.apache.org:/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 /yart-doc[@entryid="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/

Re: Namespace issues (again)

Posted by Terry Rosenbaum <Te...@amicas.com>.
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:anoncvs@cvs.apache.org:/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 /yart-doc[@entryid="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/
>  
>