<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/jaxen/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/jaxen/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 14 Sep 2004 14:43:23 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/jaxen/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>Patch for JDom beta 10 and later</title><link>https://sourceforge.net/p/jaxen/patches/14/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Please find attached a patch for the JDom&lt;br /&gt;
DocumentNavigator class to work with the JDom beta 10&lt;br /&gt;
and JDom 1.0 API. The main purpose of the patch is to&lt;br /&gt;
deal with the introduction of the Parent interface and&lt;br /&gt;
Content abstract class. &lt;/p&gt;
&lt;p&gt;In the case of the getParent method, this now returns a&lt;br /&gt;
type of Parent, which could be either an Element or a&lt;br /&gt;
Document. Therefore a typecast and an additional test&lt;br /&gt;
is required in the getNamespaceAxisIterator method.&lt;/p&gt;
&lt;p&gt;The other change is to simplify the&lt;br /&gt;
translateNamespacePrefixToUri method, since several&lt;br /&gt;
instanceof tests can be combined into one test for&lt;br /&gt;
instanceof Content abstract class. This also needs a&lt;br /&gt;
typecast to Element instead of the Parent interface,&lt;br /&gt;
but in this case no additional test is required for&lt;br /&gt;
type safety.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nicholas Cull</dc:creator><pubDate>Tue, 14 Sep 2004 14:43:23 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net20fd1d205897b3fe630161beca50295deac5f54b</guid></item><item><title>Functions with prefixed names are not supported</title><link>https://sourceforge.net/p/jaxen/patches/13/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;the expression "a:b()" throws the exception "unexpected&lt;br /&gt;
'(' "&lt;/p&gt;
&lt;p&gt;try this :&lt;br /&gt;
org.jaxen.dom.DocumentNavigator.getInstance().parseXPath("a:b()");&lt;/p&gt;
&lt;p&gt;patch applied on the class XPathReader :&lt;br /&gt;
line 145 becomes :&lt;br /&gt;
case IDENTIFIER:&lt;br /&gt;
{&lt;br /&gt;
if ( ( ( LA(2) == LEFT_PAREN ) &amp;amp;&amp;amp; ( !&lt;br /&gt;
isNodeTypeName( LT(1) ) ) ) ||&lt;br /&gt;
( ( LA(2) == COLON ) &amp;amp;&amp;amp; ( LA(3) ==&lt;br /&gt;
IDENTIFIER ) &amp;amp;&amp;amp; ( LA(4) == LEFT_PAREN ) ) )&lt;br /&gt;
{&lt;/p&gt;
&lt;p&gt;The test for functions that have a name with a prefix&lt;br /&gt;
was missing&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 26 Mar 2004 16:05:17 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netc1eaa815f9983d2ffba007360d8ffac222f72cd2</guid></item><item><title>Undeclared namespaces are silently ignored</title><link>https://sourceforge.net/p/jaxen/patches/12/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When Jaxen executes an expression like /p:e and the&lt;br /&gt;
prefix &amp;amp;quot;p&amp;amp;quot; is not declared, Jaxen should not just&lt;br /&gt;
return an empty node set, it should throw an exception.&lt;br /&gt;
The attached patch fixes this issue. It throws just a&lt;br /&gt;
RuntimeException (should it throw another exception?).&lt;/p&gt;
&lt;p&gt;Alex&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alessandro Vernet</dc:creator><pubDate>Wed, 17 Sep 2003 00:32:08 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netf72ce929f754b030524ce8c8ccfd8076625d6cad</guid></item><item><title>string(/) always returning empty string</title><link>https://sourceforge.net/p/jaxen/patches/11/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When the string() function is called with &amp;amp;quot;/&amp;amp;quot; as&lt;br /&gt;
argument (i.e. when applied on the document itself, not&lt;br /&gt;
the root element), it always returns an empty string.&lt;br /&gt;
The attached patch fixes this issue.&lt;/p&gt;
&lt;p&gt;Alex&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alessandro Vernet</dc:creator><pubDate>Sat, 30 Aug 2003 01:14:33 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net9f56e6852e6942467e7873724ddd017bb3050f05</guid></item><item><title>The size of the context was not set correctly</title><link>https://sourceforge.net/p/jaxen/patches/10/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This is in particular a problem when using the last()&lt;br /&gt;
function on a nodeset.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alessandro Vernet</dc:creator><pubDate>Tue, 17 Jun 2003 23:40:13 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net2f8031fbe6591958d1d883b6260442fc1a8c8fc3</guid></item><item><title>XPath expression returns namespace declaration on DOM4J</title><link>https://sourceforge.net/p/jaxen/patches/9/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;XPath expression /a/b on document &amp;amp;lt;a xmlns:b=&amp;amp;quot;...&amp;amp;quot;/&amp;amp;gt;&lt;br /&gt;
returns the namespace declaration for b. Fix attached. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alessandro Vernet</dc:creator><pubDate>Tue, 17 Jun 2003 02:06:30 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net3bdebde40dc4b8a2cb6e17c1da85e2ba922fa435</guid></item><item><title>Context set inappropriately</title><link>https://sourceforge.net/p/jaxen/patches/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I found the fix for this at&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.mail-archive.com/jaxen-" rel="nofollow"&gt;http://www.mail-archive.com/jaxen-&lt;/a&gt;&lt;br /&gt;
interest@lists.sourceforge.net/msg00835.html&lt;/p&gt;
&lt;p&gt;and thought it should be posted here.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Lomax</dc:creator><pubDate>Wed, 19 Feb 2003 21:37:17 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net9ec503a4055f7b9c2170a80e09638c79818a9ef0</guid></item><item><title>Implementation of the lang() XPath funct</title><link>https://sourceforge.net/p/jaxen/patches/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I saw on the Jaxen website TODO list that there's no &lt;br /&gt;
implementation of the lang() XPath function.&lt;br /&gt;
Well, here it is.&lt;br /&gt;
As a sidenote, it could get faster if there were a method &lt;br /&gt;
for random-access of attributes of an element by name &lt;br /&gt;
in the Navigator interface. Now it has to iterate through &lt;br /&gt;
the attributes axis...&lt;/p&gt;
&lt;p&gt;Also, don't forget to register it under name &amp;amp;quot;lang&amp;amp;quot; in &lt;br /&gt;
XPathFunctionContext...&lt;/p&gt;
&lt;p&gt;I tried to guess your coding conventions, hopefully I got &lt;br /&gt;
it right :-)&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
Attila.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Attila Szegedi</dc:creator><pubDate>Fri, 02 Aug 2002 09:18:09 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net1c18a13abb119eb3375b6db225f5dacf55506753</guid></item><item><title>String functions</title><link>https://sourceforge.net/p/jaxen/patches/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br /&gt;
bodged the upload of source-files. Sorry.&lt;br /&gt;
So here they are.&lt;/p&gt;
&lt;p&gt;Mark&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mark Wilson</dc:creator><pubDate>Fri, 30 Nov 2001 13:47:56 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net07948e7686d39d3a4a2c2d6338e767e109df5b96</guid></item><item><title>New string functions</title><link>https://sourceforge.net/p/jaxen/patches/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi all,&lt;br /&gt;
having implemented several string functions which i needed for my current project i thought they might be of use. So here they are:&lt;br /&gt;
lower() (uses default locale)&lt;br /&gt;
upper() (uses default locale)&lt;br /&gt;
endsWith()&lt;/p&gt;
&lt;p&gt;Code is in the attachment.&lt;br /&gt;
They must of course be registered in XPathFunctionContext.java.&lt;/p&gt;
&lt;p&gt;Hope they are of some use and I´m not breaking any rules by posting them here.&lt;/p&gt;
&lt;p&gt;Mark&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mark Wilson</dc:creator><pubDate>Fri, 30 Nov 2001 13:45:11 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net185afbb2daa72e0e935854e29f9111bba20c61ad</guid></item></channel></rss>