XML Validator
Published on 30 Jan 2005Tags #DTD #Java #XML
This is a validator for XML documents with the foillowing features:
-
Check your XML document against a DTD
-
Check your XML document against a schema (untested)
-
Transparent download of external entities
-
Local caching of external entities to speed up validation
-
Compressed entity cache to save space
NOTE: You will also need the Caching Entity Resolver
When calling the validator without any arguments, it will display the public IDs of all cached external entities. To validate XML documents supply as many document as you like: java Validator file1 file2 ... fileN
Ladies and gentlemen: the Validator.java
See also the Caching Entity Resolver and the Null Entity Resolver