<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 223: Extensible XPathAdapter</title><link>https://sourceforge.net/p/htmlunit/feature-requests/223/</link><description>Recent changes to 223: Extensible XPathAdapter</description><atom:link href="https://sourceforge.net/p/htmlunit/feature-requests/223/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 20 Oct 2014 05:29:34 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/htmlunit/feature-requests/223/feed.rss" rel="self" type="application/rss+xml"/><item><title>#223 Extensible XPathAdapter</title><link>https://sourceforge.net/p/htmlunit/feature-requests/223/?limit=25#ba6f/fb1c</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Ronald,&lt;/p&gt;
&lt;p&gt;as far as I know custom XPath functions cannot be defined for real browsers - that's why this ticket is FR ;). We run testscripts defined in textfiles (so they can be prepared independently to testtool development) using HtmlUnit and sometimes standard XPath functions are not sufficient to repeat whole scenario. Of course each case could be wrapped as special actions, but this seems less flexible.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adam Afeltowicz</dc:creator><pubDate>Mon, 20 Oct 2014 05:29:34 -0000</pubDate><guid>https://sourceforge.netd38f13637792d4edbfe189f151854039dcca2b19</guid></item><item><title>#223 Extensible XPathAdapter</title><link>https://sourceforge.net/p/htmlunit/feature-requests/223/?limit=25#ba6f</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Adam,&lt;br /&gt;
sorry for the slow progress on this topic.&lt;br /&gt;
Thanks for the sample.&lt;br /&gt;
I still have a question. What is your use case for this extension. Is this something that you can do with real browsers also?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">RBRi</dc:creator><pubDate>Sun, 19 Oct 2014 14:57:19 -0000</pubDate><guid>https://sourceforge.neteac49fe5ce6bf480a2b17f3077e65578aeb7ad06</guid></item><item><title>#223 Extensible XPathAdapter</title><link>https://sourceforge.net/p/htmlunit/feature-requests/223/?limit=25#96f3/c792</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Roland,&lt;/p&gt;
&lt;p&gt;please let me know if you are satisfied with my answers.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adam Afeltowicz</dc:creator><pubDate>Mon, 13 Oct 2014 11:09:01 -0000</pubDate><guid>https://sourceforge.netb3f260178cc040fdb8c8dc564abd765408a97590</guid></item><item><title>#223 Extensible XPathAdapter</title><link>https://sourceforge.net/p/htmlunit/feature-requests/223/?limit=25#8cfd</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;ad 1) Please find example usage in attachment&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adam Afeltowicz</dc:creator><pubDate>Fri, 10 Oct 2014 12:36:29 -0000</pubDate><guid>https://sourceforge.netd73029a72240a1b191a43aeeb4526d8626816cdd</guid></item><item><title>#223 Extensible XPathAdapter</title><link>https://sourceforge.net/p/htmlunit/feature-requests/223/?limit=25#60df</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Ronald,&lt;/p&gt;
&lt;p&gt;ad 2) I agree that public field isn't elegant, but I think that FunctionTable class provides sufficient api itself (no possibility for remo, so making its instance a public static final field should be enough. I didn't find a reason why this class couldn't be a "raw" singleton as it contains only information about available XPath functions in key-value manner (schematically).&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adam Afeltowicz</dc:creator><pubDate>Fri, 10 Oct 2014 12:15:53 -0000</pubDate><guid>https://sourceforge.netfa1c5bd41e992b28c51373a856eb5cf0dc520b9d</guid></item><item><title>#223 Extensible XPathAdapter</title><link>https://sourceforge.net/p/htmlunit/feature-requests/223/?limit=100#96f3</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Adam,&lt;/p&gt;
&lt;p&gt;did a quick lock. Two thinks:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;i miss a test case that proofs the functionality; something like adding a function and check that this function works&lt;/li&gt;
&lt;li&gt;making the funcTable_ public might not be the most elegant way to allow extensions. I would prefer some kind of api here.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">RBRi</dc:creator><pubDate>Thu, 09 Oct 2014 10:43:13 -0000</pubDate><guid>https://sourceforge.netd42214e841b63653e6e04cc844f5c7783e623763</guid></item><item><title>#223 Extensible XPathAdapter</title><link>https://sourceforge.net/p/htmlunit/feature-requests/223/?limit=25#8495</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Can anyone give a comment if this patch could be (or not) committed into main branch?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adam Afeltowicz</dc:creator><pubDate>Thu, 09 Oct 2014 07:54:40 -0000</pubDate><guid>https://sourceforge.netcf5063dd9b0974e1ddbdf9f04252c14d237d04dc</guid></item><item><title>Extensible XPathAdapter</title><link>https://sourceforge.net/p/htmlunit/feature-requests/223/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;It will be nice to have possibility to extend XPath with custom functions (and it can be possible after minor XPathAdapter modification).&lt;/p&gt;
&lt;p&gt;Please find suggested patch in attachment.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adam Afeltowicz</dc:creator><pubDate>Tue, 30 Sep 2014 14:22:40 -0000</pubDate><guid>https://sourceforge.net3b74fd25f3d0030704bceb4fefe5e0e2d0e7cca1</guid></item></channel></rss>