[Webkit-unassigned] [Bug 41913] XPath substring function has inconsistent handling of negative values for the position argument

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 9 10:02:36 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=41913


Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|WebCore Misc.               |XML
                 CC|                            |ap at webkit.org




--- Comment #1 from Alexey Proskuryakov <ap at webkit.org>  2010-07-09 10:02:35 PST ---
Yes, substring("12345", -1) should return "12345". This is not only about negative numbers -substring("12345", 0) is also wrong for the same reason.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list