W3C home > Mailing lists > Public > www-svg@w3.org > March 2002

Re: validating from the commandline

From: Masayasu Ishikawa <mimasa@w3.org>
Date: Sat, 23 Mar 2002 08:29:28 +0900 (JST)
Message-Id: <20020323.082928.41629362.mimasa@w3.org>
To: www-svg@w3.org
Tobias Reif <tobiasreif@pinkjuice.com> wrote:

> what do you use for validating XML/SVG documents?
> URLs and tips for good commandline utilities are appreciated.
> I'm on Windows. Java is OK, but it should de fast.
> DTD is sufficient, though XSD would be great in addition.

If you can accept the known limitations, James Clark's SP (nsgmls)
is a good old tool, and fast enough.  Windows binary is also available


Be sure to check its known limitations on XML support at:


Xerces-J is not so fast compared to Xerces-C, but it's reportedly
one of the best validating XML processor in terms conformance.
It supports XML Schema, too.


Crimson is faster among Java-based validating XML processors.


Sun's Multi-Schema XML Validator (MSV) is an interesting tool if
you want to use several schemas.  In addition to DTD and a subset
of XML Schema, it also supports RELAX Core, RELAX Namespace, TREX,
and RELAX NG.  Written in Java.


There's a couple of others, but some of them are less conformant to
the XML 1.0 spec.  SVG 1.0 DTD is rather simple, so it would work
fine with many parsers, but if you use complex modular DTD, you could
run into trouble.  An old but still useful report on "Conformance
Testing for XML Processors" is at:


You may find a list of XML parsers at:


> ((how) can I scroll inside Window's "DOS prompt?")).

"M-x shell-command" on Emacs ;-)

Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium
Received on Friday, 22 March 2002 18:29:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:53:54 UTC