66 * <p>
67 * This component requires the following features and properties from the
68 * component manager that uses it:
69 * <ul>
70 * <li>http://xml.org/sax/features/namespaces</li>
71 * <li>http://xml.org/sax/features/validation</li>
72 * <li>http://apache.org/xml/features/validation/dynamic</li>
73 * <li>http://apache.org/xml/properties/internal/symbol-table</li>
74 * <li>http://apache.org/xml/properties/internal/error-reporter</li>
75 * <li>http://apache.org/xml/properties/internal/grammar-pool</li>
76 * <li>http://apache.org/xml/properties/internal/datatype-validator-factory</li>
77 * </ul>
78 *
79 * @xerces.internal
80 *
81 * @author Eric Ye, IBM
82 * @author Andy Clark, IBM
83 * @author Jeffrey Rodriguez IBM
84 * @author Neil Graham, IBM
85 *
86 * @version $Id: XMLDTDValidator.java,v 1.8 2010-11-01 04:39:42 joehw Exp $
87 */
88 public class XMLDTDValidator
89 implements XMLComponent, XMLDocumentFilter, XMLDTDValidatorFilter, RevalidationHandler {
90
91 //
92 // Constants
93 //
94
95 /** Symbol: "<<datatypes>>". */
96
97 /** Top level scope (-1). */
98 private static final int TOP_LEVEL_SCOPE = -1;
99
100 // feature identifiers
101
102 /** Feature identifier: namespaces. */
103 protected static final String NAMESPACES =
104 Constants.SAX_FEATURE_PREFIX + Constants.NAMESPACES_FEATURE;
105
106 /** Feature identifier: validation. */
|
66 * <p>
67 * This component requires the following features and properties from the
68 * component manager that uses it:
69 * <ul>
70 * <li>http://xml.org/sax/features/namespaces</li>
71 * <li>http://xml.org/sax/features/validation</li>
72 * <li>http://apache.org/xml/features/validation/dynamic</li>
73 * <li>http://apache.org/xml/properties/internal/symbol-table</li>
74 * <li>http://apache.org/xml/properties/internal/error-reporter</li>
75 * <li>http://apache.org/xml/properties/internal/grammar-pool</li>
76 * <li>http://apache.org/xml/properties/internal/datatype-validator-factory</li>
77 * </ul>
78 *
79 * @xerces.internal
80 *
81 * @author Eric Ye, IBM
82 * @author Andy Clark, IBM
83 * @author Jeffrey Rodriguez IBM
84 * @author Neil Graham, IBM
85 *
86 */
87 public class XMLDTDValidator
88 implements XMLComponent, XMLDocumentFilter, XMLDTDValidatorFilter, RevalidationHandler {
89
90 //
91 // Constants
92 //
93
94 /** Symbol: "<<datatypes>>". */
95
96 /** Top level scope (-1). */
97 private static final int TOP_LEVEL_SCOPE = -1;
98
99 // feature identifiers
100
101 /** Feature identifier: namespaces. */
102 protected static final String NAMESPACES =
103 Constants.SAX_FEATURE_PREFIX + Constants.NAMESPACES_FEATURE;
104
105 /** Feature identifier: validation. */
|