W3C home > Mailing lists > Public > public-qa-dev@w3.org > March 2004

libcroco wishes #1

From: Nick Kew <nick@webthing.com>
Date: Tue, 2 Mar 2004 16:31:20 +0000 (GMT)
To: public-qa-dev@w3.org
Message-ID: <Pine.LNX.4.53.0403021627160.15479@hugin.webthing.com>

I'd be looking to use the SAC API, so that's the primary focus of
my thoughts here.

* Robust parsing - should be capable of recovering - or trying to recover -
  after fatal error.
  The simplest regime for this would be on a fatal error to emit an
  error message, find the next "}", emit a message "skipping to line/char"
  and try to resume parsing after it.  But maybe we can do better.

* Messages should identify where they come from (file/line/col).
  This applies both to normal events and errors.

* Robust recovery from lesser errors
  e.g. if a value field is malformed, remaining rules in the ruleset
  should still be parsed.

* fragment parsing - e.g. for inlined styles

and one that could be implemented at a higher level:

* Parsing of property values to an O-O representation
  e.g. a box has position, size and colour attributes.
  colour has RGB, hex and (sometimes) tokenised representations.

Nick Kew
Received on Tuesday, 2 March 2004 11:31:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:36:24 UTC