On Sat, 05 May 2007 02:18:05 +0200, Maciej Stachowiak <mjs@apple.com> wrote: >> Maciej Stachowiak [mailto:mjs@apple.com] wrote: >>> The spec describes what to do with every possible stream of input >>> characters. >> >> This seems like an unimaginably arrogant statement to me. (Now you >> know why I said the above first. :) ) I wonder why. The XML specification does the same. It just says that you have to abort processing when you hit a certain illegal character where the WHATWG HTML5 proposal for HTML parsing says you have to take action X when you hit a certain illegal character. A typical state looks like something like the following: Space character Switch to state A. EOF Parse error. Reconsume EOF in state B. > Emit token. Switch to state B. Any other character. Append character to the name of the current token. Stay in this state. I'm not sure I really see the issue. -- Anne van Kesteren <http://annevankesteren.nl/> <http://www.opera.com/>Received on Saturday, 5 May 2007 11:14:18 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:39:50 GMT