DOM: Cannot read an attribute prefix #8521
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
closed-obsolete
Closed as the reported issue is no longer relevant
library-html
P3
A lower priority bug or feature request
type-enhancement
A request for a change that isn't a bug
This issue was originally filed by da...@altern.org
After parsing an XML document to DOM, it seems to be impossible to get attribute prefixes.
An element's attributes can be found with $dom_attributes, which returns a NamedNodeMap. But the Attr class does not have an instance variable or method to get the attribute's prefix. I think it used to be possible to extract the prefix with the "name" variable, but it is gone from the API, and $dom_localName does not fully replace it.
Am I missing something ?
The text was updated successfully, but these errors were encountered: