Hello Jerry!
While implementing HTML document validation for our next-generation
XEmacs website I have some questions about PSGML:
1. How can I access the DTD doctype of buffer after validating it
(i.e. it has been parsed and all information should be available
via sgml-dtd-info)?
I have verified that sgml-dtd-info contains correct information after
calling
(sgml-parse-prolog)
along the way.
2. How can I access the error message reported by
(sgml-next-trouble-spot)?
I tried using
(if sgml-last-element
(setq context (sgml-element-context-string sgml-last-element)))
but sgml-last-element is nil even though an error occured. To be
honest, it worked in a debugging session of XEmacs, but not in a
freshly started one.
I'd appreciate any help.
Best regards,
Adrian
--
Adrian Aichner <adrian(a)xemacs.org>
Show replies by date