SGML validation
"Jeff Rancier" <[email protected]> Fri, 1 Nov 2002 15:30:26 -0500
| Newsgroups | gmane.emacs.xae |
|---|---|
| Message-ID | <036601c281e5$83f59980$418412ac@jrancier> |
Hi All. I use Paul Kinnucan's XAE (http://xae.sunsite.dk) for quickly generating HTML DocBooks (great for documentation, specifications, etc.). I almost always inadvertently get XML DocBook elements in wrong places. This results in the generation of invalid XSL:FO, and broken PDFs. So, I thought I'd try validating the content. The default validation command is: nsgmls -wxml -s <filename.xml> The tool (XAE) I'm using generates a doctype like the following: <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBk XML V4.1.2//EN" "file:///c:/usr/pkg/emacs-21.2/site-lisp/xae-1.0beta7/doctypes/docbook/docbo okx.dtd" []> It is failing with the following errors, I'm assuming because of the file:/// URL, instead of an http:// URL. Is there a alternate free validator I can use? h:\usr\pkg\cygwin\bin\nsgmls.exe:srs.xml:3:145:E: cannot open "file:///c:/usr/pkg/emacs-21.2/site-lisp/xae-1.0beta7/doctypes/docbook/docbo okx.dtd" (No such file or directory) h:\usr\pkg\cygwin\bin\nsgmls.exe:srs.xml:3:145:E: DTD did not contain element declaration for document type name -- Thanks, Jeff _______________________________________________ XAE mailing list [email protected] http://sunsite.dk/mailman/listinfo/xae