69 * <li>http://apache.org/xml/features/allow-java-encodings</li>
70 * <li>http://apache.org/xml/features/continue-after-fatal-error</li>
71 * <li>http://apache.org/xml/features/load-external-dtd</li>
72 * </ul>
73 * <li>Properties
74 * <ul>
75 * <li>http://apache.org/xml/properties/internal/error-reporter</li>
76 * <li>http://apache.org/xml/properties/internal/entity-manager</li>
77 * <li>http://apache.org/xml/properties/internal/document-scanner</li>
78 * <li>http://apache.org/xml/properties/internal/dtd-scanner</li>
79 * <li>http://apache.org/xml/properties/internal/grammar-pool</li>
80 * <li>http://apache.org/xml/properties/internal/validator/dtd</li>
81 * <li>http://apache.org/xml/properties/internal/datatype-validator-factory</li>
82 * </ul>
83 * </ul>
84 *
85 * @author Arnaud Le Hors, IBM
86 * @author Andy Clark, IBM
87 * @author Neil Graham, IBM
88 *
89 * @version $Id: DTDConfiguration.java,v 1.7 2010-11-01 04:40:09 joehw Exp $
90 */
91 public class DTDConfiguration
92 extends BasicParserConfiguration
93 implements XMLPullParserConfiguration {
94
95 //
96 // Constants
97 //
98
99 // feature identifiers
100
101 /** Feature identifier: warn on duplicate attribute definition. */
102 protected static final String WARN_ON_DUPLICATE_ATTDEF =
103 Constants.XERCES_FEATURE_PREFIX + Constants.WARN_ON_DUPLICATE_ATTDEF_FEATURE;
104
105 /** Feature identifier: warn on duplicate entity definition. */
106 protected static final String WARN_ON_DUPLICATE_ENTITYDEF =
107 Constants.XERCES_FEATURE_PREFIX + Constants.WARN_ON_DUPLICATE_ENTITYDEF_FEATURE;
108
109 /** Feature identifier: warn on undeclared element definition. */
|
69 * <li>http://apache.org/xml/features/allow-java-encodings</li>
70 * <li>http://apache.org/xml/features/continue-after-fatal-error</li>
71 * <li>http://apache.org/xml/features/load-external-dtd</li>
72 * </ul>
73 * <li>Properties
74 * <ul>
75 * <li>http://apache.org/xml/properties/internal/error-reporter</li>
76 * <li>http://apache.org/xml/properties/internal/entity-manager</li>
77 * <li>http://apache.org/xml/properties/internal/document-scanner</li>
78 * <li>http://apache.org/xml/properties/internal/dtd-scanner</li>
79 * <li>http://apache.org/xml/properties/internal/grammar-pool</li>
80 * <li>http://apache.org/xml/properties/internal/validator/dtd</li>
81 * <li>http://apache.org/xml/properties/internal/datatype-validator-factory</li>
82 * </ul>
83 * </ul>
84 *
85 * @author Arnaud Le Hors, IBM
86 * @author Andy Clark, IBM
87 * @author Neil Graham, IBM
88 *
89 */
90 public class DTDConfiguration
91 extends BasicParserConfiguration
92 implements XMLPullParserConfiguration {
93
94 //
95 // Constants
96 //
97
98 // feature identifiers
99
100 /** Feature identifier: warn on duplicate attribute definition. */
101 protected static final String WARN_ON_DUPLICATE_ATTDEF =
102 Constants.XERCES_FEATURE_PREFIX + Constants.WARN_ON_DUPLICATE_ATTDEF_FEATURE;
103
104 /** Feature identifier: warn on duplicate entity definition. */
105 protected static final String WARN_ON_DUPLICATE_ENTITYDEF =
106 Constants.XERCES_FEATURE_PREFIX + Constants.WARN_ON_DUPLICATE_ENTITYDEF_FEATURE;
107
108 /** Feature identifier: warn on undeclared element definition. */
|