This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 16712 - locate a namespace returns default namespace even if prefix is non-null
Summary: locate a namespace returns default namespace even if prefix is non-null
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: DOM (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Anne
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-12 11:38 UTC by Simon Pieters
Modified: 2012-05-15 12:13 UTC (History)
2 users (show)

See Also:


Attachments

Description Simon Pieters 2012-04-12 11:38:16 UTC
http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#locate-a-namespace

"or whose namespace prefix is null and local name is "xmlns"" should only apply if /prefix/ is null.

<x xmlns="foo"/>.lookupNamespaceURI('bar') returns foo per spec currently.