[freenet-dev] CSS2 parser

2003-01-03 Thread Matthew Toseland
In order to build the new filter, I essentially read the HTML 4.01 spec, built a character-by-character state machine to separate tags etc, parsed the tags, then did things to the attributes (depending on the tag). It would appear that the first phase of this will be a total pig with CSS2 (look at

[freenet-dev] CSS2 parser

2003-01-03 Thread Matthew Toseland
In order to build the new filter, I essentially read the HTML 4.01 spec, built a character-by-character state machine to separate tags etc, parsed the tags, then did things to the attributes (depending on the tag). It would appear that the first phase of this will be a total pig with CSS2 (look at