>>>> "Stephen" == Stephen J Turnbull
<turnbull(a)sk.tsukuba.ac.jp> writes:
>>>> "APA" == Adrian Aichner
<aichner(a)ecf.teradyne.com> writes:
APA> Please send me a test-case. I
have psgml package 1.19
APA> installed and am willing to give it a try.
Stephen> This is of course "degenerate" UTF-8. You'll need the
Stephen> XHTML DTD and a couple of entity definition files (at
Stephen> least, they're not in v1.18 of the XEmacs PSGML package):
Hello Stephen,
Stephen>
http://web3.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
Stephen>
http://web3.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent
Stephen>
http://web3.w3.org/TR/xhtml1/DTD/xhtml-special.ent
Stephen>
http://web3.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent
psgml 1.19 Validated HTML/SGML editing.
has these:
c:\XEmacs\xemacs-packages\etc\psgml:
wildcard xhtml*
total 144
-rw-rw-rw- 1 AichnerAd 5 11789 Mar 27 14:17 xhtml-lat1.ent
-rw-rw-rw- 1 AichnerAd 5 4144 Mar 27 14:17 xhtml-special.ent
-rw-rw-rw- 1 AichnerAd 5 14127 Mar 27 14:17 xhtml-symbol.ent
-rw-rw-rw- 1 AichnerAd 5 32989 Mar 27 14:57 xhtml1-frameset.dtd
-rw-rw-rw- 1 AichnerAd 5 26054 Mar 27 14:57 xhtml1-strict.dtd
-rw-rw-rw- 1 AichnerAd 5 822 Mar 27 14:17 xhtml1-transitional-mathml.dtd
-rw-rw-rw- 1 AichnerAd 5 32245 Mar 27 14:58 xhtml1-transitional.dtd
-rw-rw-rw- 1 AichnerAd 5 6801 Mar 27 14:17 xhtml1.dcl
More later...
Adrian
Stephen> The problem is in the `xml:lang' attribute of the `html'
Stephen> element. The error occurs when parsing (C-c C-p) the
Stephen> DTD.
Stephen> Which reminds me; until I set up the catalogs correctly,
Stephen> PSGML silently substituted the HTML 3.2 DTD for XHTML
Stephen> 1.0. It would be nice if PSGML warned about this
Stephen> situation.
Stephen> ------------------------------ cut here ------------------------------
Stephen> <?xml version="1.0" encoding="utf-8"?>
Stephen> <!DOCTYPE html
Stephen> PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
Stephen> "xhtml1-strict.dtd">
Stephen> <html
xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en" lang="en">
Stephen> <head>
Stephen> <title>More Computer Wisdom</title>
Stephen> </head>
Stephen> <body>
Stephen> <h1>More Computer Wisdom</h1>
Stephen> <p>
Stephen> Even PSGML is subject to Murphy's Law.
Stephen> </p>
Stephen> </body>
Stephen> </html>
Stephen> ------------------------------ cut here ------------------------------
Stephen> --
Stephen> University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573
JAPAN
Stephen> Institute of Policy and Planning Sciences Tel/fax: +81 (298)
53-5091
Stephen> _________________ _________________ _________________
_________________
Stephen> What are those straight lines for? "XEmacs rules."
--
Adrian Aichner <adrian(a)xemacs.org>