Search in sources :

Example 1 with Datatype

use of org.relaxng.datatype.Datatype in project validator by validator.

the class IriTester method main.

/**
 * @param args
 * @throws DatatypeException
 */
public static void main(String[] args) throws DatatypeException {
    Datatype dt = (new Html5DatatypeLibrary()).createDatatype("iri");
    dt.checkValid("DaTa:,\u00e4", null);
}
Also used : Datatype(org.relaxng.datatype.Datatype) Html5DatatypeLibrary(nu.validator.datatype.Html5DatatypeLibrary)

Aggregations

Html5DatatypeLibrary (nu.validator.datatype.Html5DatatypeLibrary)1 Datatype (org.relaxng.datatype.Datatype)1