Hi Alvaro,

I have several notes on this:
- FirePath bases its functionality on the Firefox APIs. I.e. the XPath
features need to be implemented in Firefox in order to work. And the min(),
max(), avg() are obviously not (yet) implemented in Firefox. You can always
try out whether a XPath functionality is supported by a browser by using
document.evaluate()
<https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate>.
- This is the Firebug forum. The one of FirePath is here:
https://groups.google.com/forum/#!forum/firepath.
- The newest XPath functions specification is obviously
https://www.w3.org/TR/xpath-functions-3/.
- Firebug and FirePath are discontinued. Firebug users are advised to
switch over to the Firefox DevTools instead. Unfortunately, the only XPath
feature the DevTools currently provide is the $x() function
<https://developer.mozilla.org/en-US/docs/Tools/Web_Console/The_command_line_interpreter#$x>
within the command line, but more are requested. See bug 963933
<https://bugzilla.mozilla.org/show_bug.cgi?id=963933>, bug 987877
<https://bugzilla.mozilla.org/show_bug.cgi?id=987877> and bug 1032855
<https://bugzilla.mozilla.org/show_bug.cgi?id=1032855>.

Best regards,

Sebastian

On 10 February 2017 at 20:45, <alvaro.mol...@iesjoandaustria.org> wrote:

> Hello!
>
> Firstly I want to express my gratitude to the developers of this plugin,
> it helped me a lot during my professional developer experience to find the
> best Xpath for automation codes easily and clearly. Now I'm teaching and I
> want to continue using your wonderful tool in my firefox, but I've tried to
> apply it for xPath 2.0 expressions (with 'max', 'min', 'avg'... functions),
> but the plugin gives me the 'Invalid xPath' message.
>
> I have searched information about these kind of xPath in the website, and
> I have found that the W3C have two different documents to explain the xPath
> syntax:
>
> - One for xPath 1.0 (updated to october 2016)
> <https://www.w3.org/TR/xpath/>
> - Another for xPath 2.0 (revised in april 2015)
> <https://www.w3.org/TR/xpath-functions/>
>
> After checked a lot of documentation, I have not found any clear
> explanation for that, wich one is the "official" and  mainly, why the
> plugin does not support the xpath 2.0 functions?
>
> Please, if is possible, answer to me this question, or link to me the
> thread that speaks about that if previously it has been opened (sorry for
> open again).
>
> Thank you very much!!!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Firebug" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to firebug+unsubscr...@googlegroups.com.
> To post to this group, send email to firebug@googlegroups.com.
> Visit this group at https://groups.google.com/group/firebug.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/firebug/ed7cdad3-d53e-4970-820e-ac3ce6f9bee0%40googlegroups.com
> <https://groups.google.com/d/msgid/firebug/ed7cdad3-d53e-4970-820e-ac3ce6f9bee0%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to firebug+unsubscr...@googlegroups.com.
To post to this group, send email to firebug@googlegroups.com.
Visit this group at https://groups.google.com/group/firebug.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/firebug/CAERejNYJWFhtYfQ%2B%2B7wvS1SXnLmqj%3DcM7BmubhYAJUsbh%3DmYew%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to