--- old/src/jdk.xml.bind/share/classes/com/sun/xml/internal/dtdparser/XmlChars.java 2015-10-16 12:59:45.000000000 +0200 +++ new/src/jdk.xml.bind/share/classes/com/sun/xml/internal/dtdparser/XmlChars.java 2015-10-16 12:59:44.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -47,7 +47,7 @@ * documents containing only Unicode. (The char datatype * in the Java Programming Language represents Unicode characters, * including unpaired surrogates.) - *

+ *

*

In XML, UCS-4 characters can also be encoded by the use of * character references such as &#x12345678;, which * happens to refer to a character that is disallowed in XML documents. @@ -364,17 +364,6 @@ } } - private static boolean isDigit(char c) { - // [88] Digit ::= ... - - // - // java.lang.Character.isDigit is correct from the XML point - // of view except that it allows "fullwidth" digits. - // - return Character.isDigit(c) - && !((c >= 0xff10) && (c <= 0xff19)); - } - private static boolean isExtender(char c) { // [89] Extender ::= ... return c == 0x00b7 || c == 0x02d0 || c == 0x02d1 || c == 0x0387