Mike Samuel
unread,Nov 13, 2009, 2:57:22 PM11/13/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Caja Discuss
I submitted revision 3844 which changes all our uses of the DOM APIs
to use namespace-aware APIs instead of the non-namespace aware
alternatives to address issue 1115.
This means that a lot of simple changes like
foo.getAttribute(bar)
have been changed
foo.getAttributeNS(..., bar)
and similarly for createElement, getAttributeNode, setAttribute, and
getElementsByTagName.
This may cause a few rocky merges, but I don't expect it to be any
worse than our transition from representing HTML&XML as ParseTreeNodes
to Nodes.
I'm going to occasionally grep over the next few months for any
regressions to non-namespace aware APIs, but when you're dealing with
HTML/XML please try to use the namespace aware APIs.
mike