Class XercesParser

java.lang.Object
org.apache.commons.digester.parser.XercesParser

@Deprecated public class XercesParser extends Object
Deprecated.
Create an XMLParser instance yourself, configure validation appropriately, and pass it as a parameter to the Digester constructor, or use Digester.setXMLSchema(javax.xml.validation.Schema) for validation.
Create a SAXParser based on the underlying Xerces version. Currently, Xerces 2.3 and up doesn't implement schema validation the same way 2.1 was. In other to support schema validation in a portable way between parser, some features/properties need to be set.
Since:
1.6
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static String
    Deprecated.
    The JAXP 1.2 property to set up the schemaLanguage used.
    protected static org.apache.commons.logging.Log
    Deprecated.
    The Log to which all SAX event related logging calls will be made.
    protected static float
    Deprecated.
    A float representing the underlying Xerces version
    protected static String
    Deprecated.
    The current Xerces version.
    protected static String
    Deprecated.
    Xerces dynamic validation property
    protected static String
    Deprecated.
    Xerces schema validation property
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static SAXParser
    Deprecated.
    Create a SAXParser based on the underlying Xerces version.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait