commit | 4b3efaf3d143bf72f8989ff2b91e3b28b49bf5e6 | [log] [tgz] |
---|---|---|
author | Abhijit Saha <asaha@openjdk.org> | Tue Jun 30 16:23:54 2009 -0700 |
committer | Abhijit Saha <asaha@openjdk.org> | Tue Jun 30 16:23:54 2009 -0700 |
tree | 8fd906fea2886b36f47ae18a6b8099e87da61ed2 | |
parent | 30558fec61d54ef2e40fdebae348a70c9cdd6763 [diff] | |
parent | 95f53ce57bb36019087a774f46bfeadc843d4d68 [diff] |
Merge
diff --git a/jaxp/src/share/classes/com/sun/org/apache/xerces/internal/impl/XMLScanner.java b/jaxp/src/share/classes/com/sun/org/apache/xerces/internal/impl/XMLScanner.java index e7071fd..513dec4 100644 --- a/jaxp/src/share/classes/com/sun/org/apache/xerces/internal/impl/XMLScanner.java +++ b/jaxp/src/share/classes/com/sun/org/apache/xerces/internal/impl/XMLScanner.java
@@ -1027,6 +1027,9 @@ int c = fEntityScanner.peekChar(); if (XMLChar.isMarkup(c) || c == ']') { fStringBuffer.append((char)fEntityScanner.scanChar()); + } else if (c != -1 && isInvalidLiteral(c)) { + reportFatalError("InvalidCharInSystemID", + new Object[] {Integer.toString(c, 16)}); } } while (fEntityScanner.scanLiteral(quote, ident) != quote); fStringBuffer.append(ident);