You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ne...@apache.org on 2002/11/27 21:25:57 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/util XMLChar.java
neilg 2002/11/27 12:25:57
Modified: java/src/org/apache/xerces/util XMLChar.java
Log:
premature commit of this file... oops...
Revision Changes Path
1.11 +12 -2 xml-xerces/java/src/org/apache/xerces/util/XMLChar.java
Index: XMLChar.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/util/XMLChar.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- XMLChar.java 27 Nov 2002 20:12:13 -0000 1.10
+++ XMLChar.java 27 Nov 2002 20:25:56 -0000 1.11
@@ -489,6 +489,17 @@
} // isSpace(int):boolean
/**
+ * Returns true if the specified character is a space character
+ * as amdended in the XML 1.1 specification.
+ *
+ * @param c The character to check.
+ */
+ public static boolean isXML11Space(int c) {
+ return (c < 0x10000 && (CHARS[c] & MASK_SPACE) != 0) ||
+ c == 0x85 || c == 0x2028;
+ } // isXML11Space(int):boolean
+
+ /**
* Returns true if the specified character is a valid name start
* character as defined by production [5] in the XML 1.0
* specification.
@@ -677,6 +688,5 @@
}
return false;
} // isValidIANAEncoding(String):boolean
-
} // class XMLChar
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org