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

Note You need to log in before you can comment on or make changes to this bug.
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.