if (elementName.equals("configure")) {
// Count configure tags so that they can nest.
_configureNesting--;
if (_configureNesting < 0) {
throw new XmlException(
"Internal Error: _configureNesting is "
+ _configureNesting
+ " which is <0, which indicates a nesting bug",
_currentExternalEntity(), _getLineNumber(),
_getColumnNumber());
}
} else if (elementName.equals("doc")) {
// Count doc tags so that they can nest.
_docNesting--;
if (_docNesting < 0) {
throw new XmlException("Internal Error: _docNesting is "
+ _docNesting
+ " which is <0, which indicates a nesting bug",
_currentExternalEntity(), _getLineNumber(),
_getColumnNumber());
}