Last Comment Bug 311036 - String offset problem in the XForms XPath engine
: String offset problem in the XForms XPath engine
: fixed1.8.0.2, fixed1.8.1
Product: Core Graveyard
Classification: Graveyard
Component: XForms (show other bugs)
: Trunk
: All All
-- normal (vote)
: ---
Assigned To: Allan Beaufour
: Stephen Pride
Depends on:
  Show dependency treegraph
Reported: 2005-10-04 03:27 PDT by Allan Beaufour
Modified: 2016-07-15 14:46 PDT (History)
3 users (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---

Testcase (752 bytes, application/xhtml+xml)
2005-10-04 03:28 PDT, Allan Beaufour
no flags Details
Patch (5.41 KB, patch)
2005-10-04 03:33 PDT, Allan Beaufour
bugs: review+
doronr: review+
Details | Diff | Splinter Review

Description User image Allan Beaufour 2005-10-04 03:27:24 PDT
*sigh* wrong and stupid fix in bug 277929 makes a lot of XPath functions fail.
Comment 1 User image Allan Beaufour 2005-10-04 03:28:23 PDT
Created attachment 198429 [details]

This testcase uses following-sibling:: and fails
Comment 2 User image Allan Beaufour 2005-10-04 03:33:39 PDT
Created attachment 198430 [details] [diff] [review]

Fixes the offset-error, instead of the original "insert a space before name"
*sigh*. (also removes the unnecessary else statements...)

I also added a warning so it's easier to detect that the scanner returns an
error token.
Comment 3 User image Allan Beaufour 2005-11-08 05:37:26 PST
This was checked in to trunk quite a while ago
Comment 4 User image aaronr 2006-02-02 17:10:07 PST
checked into MOZILLA_1_8_BRANCH via bug 323691.  Leaving open for now until it gets into 1.8.0
Comment 5 User image aaronr 2006-07-07 11:54:57 PDT
verified fixed in MOZILLA_1_8_BRANCH

Note You need to log in before you can comment on or make changes to this bug.