src/com/sun/org/apache/xerces/internal/impl/dtd/XMLDTDValidator.java

Print this page

        

@@ -1216,11 +1216,11 @@
                 if (fGrammarBucket.getStandalone()) {
                     // check VC: Standalone Document Declaration, entities
                     // references appear in the document.
                     // REVISIT: this can be combined to a single check in
                     // startEntity if we add one more argument in
-                    // startEnity, inAttrValue
+                    // startEntity, inAttrValue
                     String nonNormalizedValue = attributes.getNonNormalizedValue(i);
                     if (nonNormalizedValue != null) {
                         String entityName = getExternalEntityRefInAttrValue(nonNormalizedValue);
                         if (entityName != null) {
                             fErrorReporter.reportError(XMLMessageFormatter.XML_DOMAIN,