[OpenLayers-Trac] Re: [OpenLayers] #3462: Format/XML.js tests fail
in Chromium
OpenLayers
trac-20090302 at openlayers.org
Wed Aug 17 03:07:04 EDT 2011
#3462: Format/XML.js tests fail in Chromium
--------------------+-------------------------------------------------------
Reporter: erilem | Owner:
Type: task | Status: new
Priority: major | Milestone: 2.11 Release
Component: tests | Version: 2.11 RC2
Keywords: | State:
--------------------+-------------------------------------------------------
Comment(by ahocevar):
Thanks Tim for the explanation on this. I was missing several pieces when
I wrote this comment.
1. I didn't see that GeoRSS, KML, ArcXML and OSM formats use the default
namespace
1. My sources of wisdom were the
[http://www.w3schools.com/dom/met_document_createelementns.asp W3Schools]
example (which seems to be incorrect) and the [http://msdn.microsoft.com
/en-us/library/ms757901(v=vs.85).aspx#Y87 MS docs] example (which doesn't
use a namespace).
Having said that, I just confirmed that Tim is right, by looking at the
[http://www.w3.org/TR/DOM-Level-2-Core/core.html DOM Level 2 Core Spec]:
{{{
// Introduced in DOM Level 2:
Element createElementNS(in DOMString namespaceURI,
in DOMString qualifiedName)
raises(DOMException);
}}}
Strangely enough, while I was able to get the above error message
occasionally a few days ago in Safari 5.1, I wasn't able to get it again
today. Which makes me think we should just close this issue and assume
that it's a browser bug.
--
Ticket URL: <http://trac.openlayers.org/ticket/3462#comment:6>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list