W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2007

[whatwg] XSLT: HTML 5 --> HTML

From: Henri Sivonen <hsivonen@iki.fi>
Date: Tue, 6 Feb 2007 14:21:47 +0200
Message-ID: <D6CFE04F-0A82-4FF5-BBF8-ACB039E1B1D7@iki.fi>
On Feb 6, 2007, at 14:04, Elliotte Harold wrote:

> Henri Sivonen wrote:
>
>> My parser[1] doesn't follow the WA10 parsing algorithm, either,  
>> *yet*. However, as a tentative Pythonless Java solution, you could  
>> use it together with a RELAX NG validator in the pipeline (using  
>> the whattf.org schemas[2]) to implement Draconian failure in cases  
>> where the error recovery would kick in as per the WA10 parsing  
>> algorithm.
>
> Java's certainly more attractive to me than Python. I think I'd  
> avoid Draconian error handling for the initial step and just see  
> what comes out at the end.

My parser, in its current version, is designed with the assumption  
that it is used together with a sane RELAX NG schema. If used alone  
without a validation layer with non-conforming input, it will (by  
design) produce non-conforming output.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/
Received on Tuesday, 6 February 2007 04:21:47 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:32 UTC