Closed Bug 218756 Opened 21 years ago Closed 21 years ago

Update to latest DOM Level 3 XPath specification

Categories

(Core :: XSLT, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla1.6alpha

People

(Reporter: peterv, Assigned: peterv)

References

()

Details

Attachments

(2 files, 1 obsolete file)

Error numbers changed and code on XPathException became writeable, I have a
patch for that. Other changes is that the evaluate methods on XPathExpression
and XPathEvaluator now take and return a DOMObject instead of a XPathResult.
Note that there seems to be an error in the exception definitions in DOM Level 3
specs, they remove "readonly attribute" from code, but that makes it invalid idl
(still need the "attribute").
Attached patch v1 (obsolete) — Splinter Review
Attachment #131142 - Flags: superreview?(jst)
Attachment #131142 - Flags: review?(axel)
Comment on attachment 131142 [details] [diff] [review]
v1

I take it that there is more work coming up?
r=axel@pike.org for error codes and exception on no resolver.

Of course,
+    mResolver->LookupNamespaceURI(prefix, ns);
+    NS_ENSURE_SUCCESS(rv, rv);
indicates that you should actually assign the return value of
LookupNamespaceURI to rv.
Attachment #131142 - Flags: review?(axel) → review+
Comment on attachment 131142 [details] [diff] [review]
v1

sr=jst
Attachment #131142 - Flags: superreview?(jst) → superreview+
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla1.6alpha
Attached patch v2Splinter Review
Actually, I can roll in the DOMObject chang, it's easier than I thought.
Attachment #131142 - Attachment is obsolete: true
Comment on attachment 131145 [details] [diff] [review]
v2

Sorry about the earlier (premature as it turns out) r/sr request.
Attachment #131145 - Flags: superreview?(jst)
Attachment #131145 - Flags: review?(axel)
Comment on attachment 131145 [details] [diff] [review]
v2

sr=jst
Attachment #131145 - Flags: superreview?(jst) → superreview+
Comment on attachment 131145 [details] [diff] [review]
v2

r=axel@pike.org
Attachment #131145 - Flags: review?(axel) → review+
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Reopening, I missed a spot :-/.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached patch Additional patchSplinter Review
Attachment #132739 - Flags: superreview?(jst)
Attachment #132739 - Flags: review?(axel)
Status: REOPENED → ASSIGNED
Comment on attachment 132739 [details] [diff] [review]
Additional patch

oh, that's why I wasn't sure if this thing landed or not. As I found the old
error codes recently.

r=axel@pike.org
Attachment #132739 - Flags: review?(axel) → review+
Comment on attachment 132739 [details] [diff] [review]
Additional patch

sr=bzbarsky
Attachment #132739 - Flags: superreview?(jst) → superreview+
Fixed. Really.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: