|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
GenericParser | Deprecated. Create an XMLParser instance yourself, configure validation
appropriately, and pass it as a parameter to the
Digester constructor, or use
Digester.setXMLSchema(Schema) for validation. |
XercesParser | Deprecated. Create an XMLParser instance yourself, configure validation
appropriately, and pass it as a parameter to the
Digester constructor, or use
Digester.setXMLSchema(Schema) for validation. |
DEPRECATED PACKAGE:
This package contains legacy schema support code used in the v1.x line of
Digester releases. Starting v2.0, the recommended way to use schema
validation is via the javax.xml.validation.Schema
support.
Digester aims to support the widest range possible of parsers. Unfortunately, there are a few parser settings which have not been standardized. In most cases, the best practice is for the user to configure the parser themselves and pass it to Digester to use.
There are a few reasonable exceptions which Digester makes to this general rule. There are a small number of common use cases where insisting that the user configure the parser may reduce the portability of applications using Digester. These are outlined below.
When validating using schemas (rather than DTDs), settings for schema language and schema location are commonly needed. Unfortunately, there is a lack of standardization for these settings. In particular, for older versions of Xerces, these are set differently from newer versions.
In order to aid portability for this common use case, Digester uses
the classes in this package (together with ParserFeatureSetterFactory
)
to guess the parser and set these properties appropriately.
The aim is for Digester to automagically recognize and configure each parser.
Help would be gratefully appreciated to maintain and improve the support in this area.
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |