cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject [PATCH] Extend XPathProcessor with custom prefix resolving
Date Mon, 19 May 2003 11:19:13 GMT
Attached is a patch that extends the XPathProcessor component so that a
custom namespace prefix resolver can be provided for each evaluation of
an XPath expression.

I need this functionality to implement proper xpointer support in
Cocoon, but it's certainly more widely useful.

The patch introduces a new interface "PrefixResolver", adds additional
methods to the XPathProcessor interface that take such a PrefixResolver
as argument, and also includes a little testcase.

Extract the attached tgz in the avalon-excalibur/xmlutil directory, and
new files should be in the right locations. Then apply the included
xpathpatches.diff to update existing files.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org                          bruno@apache.org

Mime
View raw message