cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <>
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                   
Outerthought - Open Source, Java & XML Competence Support Center                

View raw message