Relatively untried in XML, I worry that I may be missing
something. Do you have a favorite command-line (scriptable)
XML validator? For present purposes, it should...
-- provide fairly helpful and verbose error messages
-- be quick enough to validate (say) 25,000 files.
-- support DTDs. Other schema support at present unnecessary.
-- run happily and natively under WinXP
-- run also under Linux and OSX
-- output (whether to std out or std error ) file name,
error message, and line number of error. Status
(valid/invalid) is less important.
I am using (O)NSGMLS in XML mode (with an XML SGML declaration);
a couple of utilities that use the libxml libraries (xmllint
and xmlstarlet); and the AltovaXML2008 application. The
last is the worst--the pickiest, by far the slowest, the
least informative, and the most platform-confined (Windows
only). (O)NSGMLS is reliable, allows use of catalogs, and
fairly fast, but quirky in that SGML way it has. And the
other two seem so far to get the job done. But is there
something else I *should* be using?
Apologies if this is deemed too XML-generic (rather than
TEI-specific) a query.
pfs
--------------------------------------------------------------------
Paul Schaffner | [log in to unmask] | http://www.umich.edu/~pfs/
316-C Hatcher Library N, Univ. of Michigan, Ann Arbor MI 48109-1205
--------------------------------------------------------------------
|