Validating xml scema

Unfortunately, this module isn't ready for use as it lacks the ability to actually parse the XML Schema document format!

validating xml scema-61validating xml scema-46

This module does not implement the full W3C XML Schema recommendation ( but a useful subset. IMPORTANT NOTE: To get line and column numbers in the error messages generated by this module you must install XML:: Filter:: Exception Locator and use XML:: SAX:: Expat XS as your SAX parser.

This module is much more useful if you can tell where your errors are, so using these modules is highly recommeded!

In this example we are going to validate if the package org.kodejava.example.xml; import sax.

Mostly programming in Java, Spring Framework, Hibernate / JPA.

integer int short byte unsigned Int unsigned Short unsigned Byte positive Integer negative Integer non Positive Integer non Negative Integer date Time Notes: Although date Time correctly validates the lexical format it does not offer comparison facets (min*, max*, enumeration).

double Notes: Although double correctly validates the lexical format it does not offer comparison facets (min*, max*, enumeration).

Requiring users to install Xerces is simply too onerous a requirement; few will have it already and the Xerces installation system leaves much to be desired.

On CPAN, the only available XML Schema validator is XML:: Schema.

I'm sure this will mean that it can't be used in all situations, but hopefully that won't prevent it from being used at all.

The following elements are supported by the XML Schema parser.

One day, when XML:: Schema is completed I will replace this module with a wrapper around it.

Tags: , ,