Possibly complex merges ahead

0 views
Skip to first unread message

Mike Samuel

unread,
Nov 13, 2009, 2:57:22 PM11/13/09
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
Reply all
Reply to author
Forward
0 new messages