[imps] Updating tokenizer tests for the self-closing flag
Henri Sivonen
hsivonen at iki.fi
Thu May 15 03:59:39 PDT 2008
The tokenizer specification has changed to add a new flag: the self-
closing flag. We need to change the test case format and the test
cases accordingly.
The obvious change is to add a boolean at the end of the start tag
array (true when the self-closing flag is set).
The less obvious questions are:
Do we want to make the boolean present only when it's true for
backwards compatibility with test cases that don't involve the self-
closing flag? I'd say yes.
Do we want to have the self-closing flag on end tags? I'd say no,
because we are testing attributes either, and implementations should
be allowed to optimize this data away.
--
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/
More information about the Implementors
mailing list