Closed Bug 308430 Opened 19 years ago Closed 19 years ago

[xpath] document.createNSResolver(document) doesn't resolve any prefixes

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: stryker330, Unassigned)

References

Details

Attachments

(1 file)

1.14 KB, application/xhtml+xml
Details
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4

The XPathNSResolver object returned from document.createNSResolver(document)
doesn't resolve any prefixes.

Workaround: document.createNSResolver(document.documentElement)

Probably related to bug 307465.


Reproducible: Always

Steps to Reproduce:
Depends on: 307465
Attached file testcase
also a testcase for bug 307465 (at least for lookupNamespaceURI)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Verified fixed on trunk.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: