On Fri, Feb 17, 2012 at 4:02 PM, Mike Samuel <[email protected]> wrote:
> 2012/2/17 Mike Stay <[email protected]>:
>> I'm working on a change that gets rid of _d_attributes and uses the
>> data-caja-* attribute namespace instead.  TemplateCompiler now renames
>> attributes rather than stripping them out, and the *Attribute()
>> methods in Domado prefixes attributes if they're not otherwise
>> whitelisted.
>>
>> IHtmlSanityCheckerTest and various others check to see that unknown
>> attributes cause a warning message to be added to the queue; is there
>> code that depends on unknown attributes being stripped rather than
>> renamed, or can I remove these tests?
>
> As long as the schema is applied at some pipeline stage, we're fine.

The schema is applied and then I whitelist all the data-caja-*
attributes on the element.
-- 
Mike Stay - [email protected]
http://www.cs.auckland.ac.nz/~mike
http://reperiendi.wordpress.com

Reply via email to