Subject: Re: (X)HTML export broken?
From: Dom Lachowicz (dominicl@seas.upenn.edu)
Date: Thu Aug 16 2001 - 12:20:20 CDT
Quoting Hubert Figuiere <hfiguiere@teaser.fr>:
> According to F J Franklin <F.J.Franklin@sheffield.ac.uk>:
> > Does this crash anyone else's AbiWord when exporting to (X)HTML?
> > (I'm using Linux/GNOME built with the two patches I just sent.)
>
> Is it HTML of XHMTL... because there are 2 exporter. HTML works fine.
Just FYI - these 2 exporters are actually the same exporter with just a
*little* conditional logic thrown in to un-confuse MSIE, Nutscrape, and silly
users. Many versions of MSIE have this issue where it wants to display XHTML as
a color-coded and collapsable XML document instead of honoring our pretty HTML.
What does it expect, us to feed it a HTML->HTML XSL stylesheet? Also, many
users were complaining to me about how there was no HTML 4.0 compatibility.
Well, in all reality XHTML is basically just HTML 4.0 and any browser will
display it fine, provided you remove the <?xml?> declaration and change the
DOCTYPE.
So one "exporter" gives you XHTML 1.0 strict output, with an <?xml?>
declaration and a doctype of XHTML 1.0 strict and the other exporter has a
doctype of HTML 4.0 and no <?xml?> tag. Other than that, they share 100% of the
same code and both output XHTML 1.0, so the problem probably would show up in
both.
Dom
This archive was generated by hypermail 2b25 : Thu Aug 16 2001 - 12:20:26 CDT