1

The Dart Node implementation is missing lookupNamespaceURI.

Is support planned in the near future?

Günter Zöchbauer
  • 623,577
  • 216
  • 2,003
  • 1,567
Ed Evans
  • 178
  • 1
  • 7

1 Answers1

0

I didn't find a reference but namespaces are outdated in HTML5 as far as I know.
Maybe this question/answers has some information.

Community
  • 1
  • 1
Günter Zöchbauer
  • 623,577
  • 216
  • 2,003
  • 1,567
  • There are a still a handful of [supported namespaces](http://www.w3.org/TR/2011/WD-html5-20110405/namespaces.html) in HTML5 like SVG. Dart has setAttributeNS, getNamespacedAttributes, etc. Would be nice to have lookupNamespaceURI too. – Ed Evans Apr 22 '14 at 22:01
  • You can add a feature request at dartbug.com. I tried to use Facebook API on the client a while ago which makes heavy use of namespaces and got the answer that namspaces are outdated too. You could create a Dart-JS-interop wrapper to make that feature available in Dart. – Günter Zöchbauer Apr 23 '14 at 05:10
  • I thin you should be able to get access to the JavaScript proxy by using `fromBrowserObject` (see https://code.google.com/p/dart/issues/list?can=2&q=frombrowserobject&colspec=ID+Type+Status+Priority+Area+Milestone+Owner+Summary+Modified&cells=tiles for examples) I haven't yet used this myself. – Günter Zöchbauer Apr 23 '14 at 06:08
  • 1
    Submitted enhancement [18540](https://code.google.com/p/dart/issues/detail?id=18540) to dartbug.com. – Ed Evans Apr 30 '14 at 00:16