On Tuesday, April 30, 2002, at 08:37 PM, Fernando Padilla wrote:
I'm looking over the code and found that the Kernel class contains a copy
of the org.apache.xindice.xml.TextWriter class; the comment along with the
copy says:


"TextWriter takes a Document, DocumentFragment, or Element and streams it
as text to an output source (or a String) -- Stolen from
org.apache.xindice.xml"


I do not believe that it's being used; could anyone tell me the reasoning
why the copy is there? Attached is a patch to simply remove the
Kernel.TextWriter class from Kernel.

This goes back to when there were two separate projects, Juggernaut and dbXML. Juggernaut needed *a* serializer to write its configuration, but not necessarily dbXML's, and dbXML required Juggernaut to build, so the class was copied to allow Juggernaut to build. When the code bases merged to form Xindice, this was no longer necessary, so that inner class is actually an unnecessary vestige.


--
Tom Bradford - http://www.tbradford.org
Architect - XQRL (XQuery Engine) - http://www.xqrl.com
Apache Xindice (XML Database) - http://xml.apache.org/xindice
Labrador (Web Services Hub) - http://www.notdotnet.org/labrador



Reply via email to