  | |  | SOLVED: XEmacs HTML Mode Problem | SOLVED: XEmacs HTML Mode Problem 2002-07-11 - By T. Ribbrock
Back On Sun, Jun 09, 2002 at 11:46:38PM +0200, T. Ribbrock wrote: > anybode else out there using the HTML mode in XEmacs? It seems to have > problems since I upgraded from RHL6.2 to RHL7.3... When I load a html > file and want to change a tag or add a tag or basically do any edit > which involves actual HTML code, I get the following error: > > External entity HTML not found > Public identifier -//W3C//DTD HTML 3.2 Final//EN > > (with the appropriate DTD, depending on the document I 'm editing). > > Also, the tag menus are empty (probably due to XEmacs not being able > to parse the DTD) - which basically makes the html-mode useless... :-(
After banging my head on this a bit more, I finally found a solution on Usenet. I 've added the following to $HOME/.xemacs/init.el :
(setq sgml-catalog-files (append '( "/usr/lib/xemacs/xemacs-packages/etc/psgml/CATALOG ")))
That is apparently the location where the DTDs are defined. Why this isn 't set as per default I don 't know. In any case, the html-mode worked again after this change.
Cheerio,
Thomas -- -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- Thomas Ribbrock
http://www.ribbrock.org
ICQ#: 15839919 "You have to live on the edge of reality - to make your dreams come true! "
|
|
 |