Re: SGML validation

"Jeff Rancier" <[email protected]> Fri, 1 Nov 2002 15:40:29 -0500
Newsgroups gmane.emacs.xae
Message-ID <039801c281e6$eb3addc0$418412ac@jrancier>
To test my idea, I removed the file:/// portion, and I thought it was going
to work.  I now appears to try to validate, but maxs out after 200 errors,
like the following:

nsgmls -wxml srs.xml
h:\usr\pkg\cygwin\bin\nsgmls.exe:c:/usr/pkg/emacs-21.2/site-lisp/xae-1.0beta
7/doctypes/docbook/docbookx.dtd:74:15:W: named character reference
h:\usr\pkg\cygwin\bin\nsgmls.exe:c:/usr/pkg/emacs-21.2/site-lisp/xae-1.0beta
7/doctypes/docbook/docbookx.dtd:74:17:E: "X20AC" is not a function name
h:\usr\pkg\cygwin\bin\nsgmls.exe:c:/usr/pkg/emacs-21.2/site-lisp/xae-1.0beta
7/doctypes/docbook/ent/iso-amsa.ent:8:17:W: named character reference
h:\usr\pkg\cygwin\bin\nsgmls.exe:c:/usr/pkg/emacs-21.2/site-lisp/xae-1.0beta
7/doctypes/docbook/ent/iso-amsa.ent:8:19:E: "X21B6" is not a function name
h:\usr\pkg\cygwin\bin\nsgmls.exe:c:/usr/pkg/emacs-21.2/site-lisp/xae-1.0beta
7/doctypes/docbook/ent/iso-amsa.ent:9:17:W: named character reference

goes on, and on, etc.

Jeff


"Jeff Rancier" <[email protected]> wrote in message
news:[email protected]...
> 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