
Walter van Holst wrote:
Lee Passey wrote:
The resulting XML+CSS renders quite nicely in both Opera 7.4 and Firefox 1.0.4. It does _not_ render quite so well in Internet Explorer 6.0.29. Apparently IE does not support the CSS :before or :after pseudo-selectors, causing the file to lose quotation marks, nor does it correctly interpret the *[attribute~="value"] syntax, making such markup as 'rend="italic"' or 'rend="center"' inoperative.
Safari gives the following errors:
his page contains the following errors:
error on line 195 at column 264: Entity 'nbsp' not defined error on line 199 at column 293: Entity 'mdash' not defined
[etc.] This problem is not related to CSS, but rather to parsing the DTD. Mr. Perathoner's original version used the —, and entities, but did not define them, relying instead on the entity definitions included from the chain of DTD includes. I discovered that neither Firefox nor Opera actually read or processed the doctype declaration, and therefore any entity definitions from included files, aren't. I attempted to solve this problem by defining these entities as part of the internal doctype declaration for alice.xml itself, and for those two browsers it appears to have worked. Apparently, not only does Safari fail to parse external DTDs, it also fails to parse _internal_ declarations. A more universal solution probably involves replacing _all_ named entities with numeric entities. I note that Bowerbird did not comment on this problem, and when it comes to fault-finding one can usually rely on Bowerbird. Perhaps this problem is version dependant; what version of Safari were you using?
Apart from that it looks rather nice.
Thank you.
Regards,
Walter _______________________________________________ gutvol-d mailing list gutvol-d@lists.pglaf.org http://lists.pglaf.org/listinfo.cgi/gutvol-d