Class RelaxNGSchemaFactory


  • public class RelaxNGSchemaFactory
    extends BaseSchemaFactory
    This is a StAX2 schema factory that can parse and create schema instances for creating validators that validate documents to check their validity against specific Relax NG specifications. It requires Sun Multi-Schema Validator (http://www.sun.com/software/xml/developers/multischema/) to work, and acts as a quite thin wrapper layer (although not a completely trivial one, since MSV only exports SAX API, some adapting is needed)
    • Field Detail

      • mDummyController

        protected final com.sun.msv.reader.GrammarReaderController mDummyController
        For now, there's no need for fine-grained error/problem reporting infrastructure, so let's just use a dummy controller.
    • Constructor Detail

      • RelaxNGSchemaFactory

        public RelaxNGSchemaFactory()