jaxp/src/com/sun/org/apache/xerces/internal/impl/dtd/XMLDTDValidator.java
changeset 24887 47b6d4800c64
parent 12457 c348e06f0e82
child 25264 040625ce9b72
equal deleted inserted replaced
24801:410bccbded9e 24887:47b6d4800c64
  1216                 if (fGrammarBucket.getStandalone()) {
  1216                 if (fGrammarBucket.getStandalone()) {
  1217                     // check VC: Standalone Document Declaration, entities
  1217                     // check VC: Standalone Document Declaration, entities
  1218                     // references appear in the document.
  1218                     // references appear in the document.
  1219                     // REVISIT: this can be combined to a single check in
  1219                     // REVISIT: this can be combined to a single check in
  1220                     // startEntity if we add one more argument in
  1220                     // startEntity if we add one more argument in
  1221                     // startEnity, inAttrValue
  1221                     // startEntity, inAttrValue
  1222                     String nonNormalizedValue = attributes.getNonNormalizedValue(i);
  1222                     String nonNormalizedValue = attributes.getNonNormalizedValue(i);
  1223                     if (nonNormalizedValue != null) {
  1223                     if (nonNormalizedValue != null) {
  1224                         String entityName = getExternalEntityRefInAttrValue(nonNormalizedValue);
  1224                         String entityName = getExternalEntityRefInAttrValue(nonNormalizedValue);
  1225                         if (entityName != null) {
  1225                         if (entityName != null) {
  1226                             fErrorReporter.reportError(XMLMessageFormatter.XML_DOMAIN,
  1226                             fErrorReporter.reportError(XMLMessageFormatter.XML_DOMAIN,