I'm trying to migrate my HTML to XHTML. Unfortunately, PSGML barfs on
the required "xml:lang" attribute because of the colon.
The HTML 4.0 spec seems to indicate that (for HTML) the colon, among
other characters, should be considered a name constituent.
Changing the syntax type of colon to "symbol constituent" in the PSGML
parser's syntax table leads to reasonable behavior for my X?HTML
documents, but I do not understand ISO 8879 or PSGML well enough to
say whether this is really a correct solution. Nor can I say how to
implement it given that (AFAIK) the "correct" syntax table would vary
according to the SGML instance.
This arose in XEmacs PSGML package 1.18, psgml-version 1.0.1.
Thanks for your attention to this issue.
--
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091
_________________ _________________ _________________ _________________
What are those straight lines for? "XEmacs rules."
Show replies by date