Reviewers: *[email protected]*, [email protected],
[email protected]

Description:

When parsing some web pages, we encounter html attributes which are bad in the
sense that Document.createAttribute and Document.createAttributeNS throw
DOMException with status code as INVALID_CHARACTER_ERR.
This change ignores these attributes and continues parsing.



Please review this at http://codereview.appspot.com/1909041/show

Affected files:
 M     src/com/google/caja/parser/ html/Html5ElementStack.java
 M     tests/com/google/caja/parser/html/DomParserTest.java
 A     tests/com/google/caja/parser/html/Html5ElementStackTest.java


Thanks
Gagan

Reply via email to