*** empty log message ***
[mono.git] / mcs / class / System.XML / System.Xml / XmlChar.cs
index 0a76ae0789807c543ed44e11002ed7d27c2d1297..3bdd932c82be9a7973888b893695d650df98eab1 100644 (file)
@@ -8,8 +8,6 @@
 // (C) 2001 Jason Diamond  http://injektilo.org/\r
 //\r
 \r
-using System;\r
-\r
 namespace System.Xml\r
 {\r
        internal class XmlChar\r
@@ -43,6 +41,11 @@ namespace System.Xml
                        return result;\r
                }\r
 \r
+               internal static bool IsPubidChar(int ch)\r
+               {\r
+                       return IsWhitespace(ch) | ('a' <= ch && ch <= 'z') | ('A' <= ch && ch <= 'Z') | ('0' <= ch && ch <= '9') | "-'()+,./:=?;!*#@$_%".IndexOf((char)ch) >= 0;\r
+               }\r
+\r
                private static byte[] firstNamePages =\r
                {\r
                        0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x00,\r