Closed Bug 417941 Opened 16 years ago Closed 16 years ago

regexp:match function use gives error

Categories

(Core :: XSLT, defect, P4)

defect

Tracking

()

RESOLVED FIXED
mozilla1.9beta4

People

(Reporter: martin.honnen, Assigned: peterv)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

The test case <http://home.arcor.de/martin.honnen/mozillaBugs/xslt/regexpMatch1.xml> is a dummy XML file using the XSLT stylesheet <http://home.arcor.de/martin.honnen/mozillaBugs/xslt/test2008021601Xsl.xml> to test the EXSLT regexp:match function.
With the latest Firefox trunk nightly (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b4pre) Gecko/2008021504 Minefield/3.0b4pre) the page displays
"Error during XSLT transformation: An unknown error has occurred (80570021)"
and the error console has the following error message:
"Error: doc is null
Source File: file:///C:/Programme/Mozilla%20Firefox/nightlies/ff304b20080215/firefox/components/txEXSLTRegExFunctions.js
Line: 75"

Line 75 in that JavaScript file is
  var doc = context.contextNode.ownerDocument;
The same error occurs with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b3pre) Gecko/2007121805 Minefield/3.0b3pre so this broke long ago it seems.
Attached patch v1Splinter Review
Assignee: nobody → peterv
Status: NEW → ASSIGNED
Attachment #303752 - Flags: superreview?(jonas)
Attachment #303752 - Flags: review?(jonas)
OS: Windows XP → All
Priority: -- → P4
Hardware: PC → All
Target Milestone: --- → mozilla1.9beta4
Version: unspecified → Trunk
Attachment #303752 - Flags: superreview?(jonas)
Attachment #303752 - Flags: superreview+
Attachment #303752 - Flags: review?(jonas)
Attachment #303752 - Flags: review+
Bug in new feature so marking blocker.
Flags: blocking1.9+
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: