All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.thaiopensource.validate.AbstractSchemaReader Maven / Gradle / Ivy

Go to download

A branch of Jing used by the Nu Html Checker. (Jing is a tool for validating documents against RelaxNG schemas.)

The newest version!
package com.thaiopensource.validate;

import com.thaiopensource.util.PropertyMap;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;

import javax.xml.transform.sax.SAXSource;
import java.io.IOException;


public abstract class AbstractSchemaReader implements SchemaReader {
  public Schema createSchema(InputSource in, PropertyMap properties) throws IOException, SAXException, IncorrectSchemaException {
    return createSchema(new SAXSource(in), properties);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy