Navigation Menu

Skip to content

BRomans/xml-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple XML validator in Java

This simple software implements two methods, SAX and DOM for validating a generic xml document against its xsd schema. Java Spring is the core library, and Maven is used for dependency management. This software is not intended as standalone application, but as a module to be integrated in a bigger context. Anyway it is possible to test its functionality in the test units:

  • DOMXmlValidatorServiceTest tests the xml against the xsd using the DOM analysis method.
  • XmlValidatorServiceTest tests the xml against the xsd using the SAX analysis method. (much faster)
  • ValidationProcessorServiceTest tests the xml against the xsd using both methods togheter (Configurable in application.properties).

In application properties there are some configurable entries, such as xsd location (local or remote) and processor configuration (1 = SAX, 2 = DOM, 3 = BOTH).

If you use this software, or part of it, inside any of your projects please remember to credit my Github page: https://github.com/BRomans

About

Implementation of SAX and DOM parser to validate xml documents against an xsd schema.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages