Skip to content

teoric/dtdvalidator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DTD-based XML Validator

Purpose

For some big files, xmllint fails or takes a long time. A validating parse with Java’s libraries does more or less the same checks.

Build and use

Build is configured to need Java 11. May be possible to tweak pom.xml to compile on Java 8.

mvn package dependency:copy-dependencies
java -jar .\target\i5validator-0.1-SNAPSHOT.jar -h

Read help, validate ;-)

Features:

  • validate against DTD (referenced/defined in the file) and XSD (via xsi:schemaLocation)

  • multiple files

  • writes log file

  • processes compressed streams (xz, bzip2, gz)

  • can work in parallel

  • can use DOM or SAX

  • can write grouped error messages to JSON file

Not supported:

License

Don’t blame,
Don’t sell,
And all is well.

About

validate XML against legacy DTD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages