Subject: re:Patch - XHTML import.
From: sam th (sam@bur-jud-118-039.rh.uchicago.edu)
Date: Mon May 22 2000 - 09:15:22 CDT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, 22 May 2000, Martin Sevior wrote:
> HI Sam,
> Sorry I lost your original email. I think it would be great for
> abi to support as many formats as possible. Unfortunately I cannot test
> your patch because I know nothing about xhtml. However I recall some
> arguments Paul Rohr made about importing html and I wonder how you would
> respond to them.
>
> 1. A full html import would require a code base of approximately the
> complexity of mozzilla. We don't want to go there.
Right. There are a number of factors that make this a 600 line file,
instead of 60 megs.
1- AbiWord does all the redering for me.
2- Expat does all the parsing for me (and I only accept well-formed XHTML)
3- I just ignore lots of tags
>
> 2. Should we advertise ourselves as having xhtml import when we we can
> only support a tiny subset of the available documents? In the case of
> other Word Processors we aim to eventually be a superset of them all so I
> have no problem starting with a useful subset.
>
I would not reccommend putting my current importer in a release version.
(It won't support bold and italic together, for example) However, it
should accept any well-formed XHTML document.
(actually, it accepts any wellformed document beginning with
...
This archive was generated by hypermail 2b25 : Mon May 22 2000 - 09:15:26 CDT