abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ckopp...@apache.org
Subject svn commit: r945376 - /abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractParserOptions.java
Date Mon, 17 May 2010 21:23:55 GMT
Author: ckoppelt
Date: Mon May 17 21:23:55 2010
New Revision: 945376

URL: http://svn.apache.org/viewvc?rev=945376&view=rev
Log:
fix for ABDERA-242

Modified:
    abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractParserOptions.java

Modified: abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractParserOptions.java
URL: http://svn.apache.org/viewvc/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractParserOptions.java?rev=945376&r1=945375&r2=945376&view=diff
==============================================================================
--- abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractParserOptions.java
(original)
+++ abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractParserOptions.java
Mon May 17 21:23:55 2010
@@ -182,37 +182,37 @@ public abstract class AbstractParserOpti
     registerEntity("frac12","\u00BD");
     registerEntity("frac34","\u00BE");
     registerEntity("iquest","\u00BF");
-    registerEntity("agrave","\u00C0");
-    registerEntity("aacute","\u00C1");
-    registerEntity("acirc","\u00C2");
-    registerEntity("atilde","\u00C3");
-    registerEntity("auml","\u00C4");
-    registerEntity("aring","\u00C5");
-    registerEntity("aelig","\u00C6");
-    registerEntity("ccedil","\u00C7");
-    registerEntity("egrave","\u00C8");
-    registerEntity("eacute","\u00C9");
-    registerEntity("ecirc","\u00CA");
-    registerEntity("euml","\u00CB");
-    registerEntity("igrave","\u00CC");
-    registerEntity("iacute","\u00CD");
-    registerEntity("icirc","\u00CE");
-    registerEntity("iuml","\u00CF");
-    registerEntity("eth","\u00D0");
-    registerEntity("ntilde","\u00D1");
-    registerEntity("ograve","\u00D2");
-    registerEntity("oacute","\u00D3");
-    registerEntity("ocirc","\u00D4");
-    registerEntity("otilde","\u00D5");
-    registerEntity("ouml","\u00D6");
+    registerEntity("Agrave","\u00C0");
+    registerEntity("Aacute","\u00C1");
+    registerEntity("Acirc","\u00C2");
+    registerEntity("Atilde","\u00C3");
+    registerEntity("Auml","\u00C4");
+    registerEntity("Aring","\u00C5");
+    registerEntity("AElig","\u00C6");
+    registerEntity("Ccedil","\u00C7");
+    registerEntity("Egrave","\u00C8");
+    registerEntity("Eacute","\u00C9");
+    registerEntity("Ecirc","\u00CA");
+    registerEntity("Euml","\u00CB");
+    registerEntity("Igrave","\u00CC");
+    registerEntity("Iacute","\u00CD");
+    registerEntity("Icirc","\u00CE");
+    registerEntity("Iuml","\u00CF");
+    registerEntity("ETH","\u00D0");
+    registerEntity("Ntilde","\u00D1");
+    registerEntity("Ograve","\u00D2");
+    registerEntity("Oacute","\u00D3");
+    registerEntity("Ocirc","\u00D4");
+    registerEntity("Otilde","\u00D5");
+    registerEntity("Ouml","\u00D6");
     registerEntity("times","\u00D7");
-    registerEntity("oslash","\u00D8");
-    registerEntity("ugrave","\u00D9");
-    registerEntity("uacute","\u00DA");
-    registerEntity("ucirc","\u00DB");
-    registerEntity("uuml","\u00DC");
-    registerEntity("yacute","\u00DD");
-    registerEntity("thorn","\u00DE");
+    registerEntity("Oslash","\u00D8");
+    registerEntity("Ugrave","\u00D9");
+    registerEntity("Uacute","\u00DA");
+    registerEntity("Ucirc","\u00DB");
+    registerEntity("Uuml","\u00DC");
+    registerEntity("Yacute","\u00DD");
+    registerEntity("THORN","\u00DE");
     registerEntity("szlig","\u00DF");
     registerEntity("agrave","\u00E0");
     registerEntity("aacute","\u00E1");
@@ -246,38 +246,38 @@ public abstract class AbstractParserOpti
     registerEntity("yacute","\u00FD");
     registerEntity("thorn","\u00FE");
     registerEntity("yuml","\u00FF");
-    registerEntity("oelig","\u0152");
+    registerEntity("Oelig","\u0152");
     registerEntity("oelig","\u0153");
-    registerEntity("scaron","\u0160");
+    registerEntity("Scaron","\u0160");
     registerEntity("scaron","\u0161");
-    registerEntity("yuml","\u0178");
+    registerEntity("Yuml","\u0178");
     registerEntity("fnof","\u0192");
     registerEntity("circ","\u02C6");
     registerEntity("tilde","\u02DC");
-    registerEntity("alpha","\u0391");
-    registerEntity("beta","\u0392");
-    registerEntity("gamma","\u0393");
-    registerEntity("delta","\u0394");
-    registerEntity("epsilon","\u0395");
-    registerEntity("zeta","\u0396");
-    registerEntity("eta","\u0397");
-    registerEntity("theta","\u0398");
-    registerEntity("iota","\u0399");
-    registerEntity("kappa","\u039A");
-    registerEntity("lambda","\u039B");
-    registerEntity("mu","\u039C");
-    registerEntity("nu","\u039D");
-    registerEntity("xi","\u039E");
-    registerEntity("omicron","\u039F");
-    registerEntity("pi","\u03A0");
-    registerEntity("rho","\u03A1");
-    registerEntity("sigma","\u03A3");
-    registerEntity("tau","\u03A4");
-    registerEntity("upsilon","\u03A5");
-    registerEntity("phi","\u03A6");
-    registerEntity("chi","\u03A7");
-    registerEntity("psi","\u03A8");
-    registerEntity("omega","\u03A9");
+    registerEntity("Alpha","\u0391");
+    registerEntity("Beta","\u0392");
+    registerEntity("Gamma","\u0393");
+    registerEntity("Delta","\u0394");
+    registerEntity("Epsilon","\u0395");
+    registerEntity("Zeta","\u0396");
+    registerEntity("Eta","\u0397");
+    registerEntity("Theta","\u0398");
+    registerEntity("Iota","\u0399");
+    registerEntity("Kappa","\u039A");
+    registerEntity("Lambda","\u039B");
+    registerEntity("Mu","\u039C");
+    registerEntity("Nu","\u039D");
+    registerEntity("Xi","\u039E");
+    registerEntity("Omicron","\u039F");
+    registerEntity("Pi","\u03A0");
+    registerEntity("Rho","\u03A1");
+    registerEntity("Sigma","\u03A3");
+    registerEntity("Tau","\u03A4");
+    registerEntity("Upsilon","\u03A5");
+    registerEntity("Phi","\u03A6");
+    registerEntity("Chi","\u03A7");
+    registerEntity("Psi","\u03A8");
+    registerEntity("Omega","\u03A9");
     registerEntity("alpha","\u03B1");
     registerEntity("beta","\u03B2");
     registerEntity("gamma","\u03B3");
@@ -322,12 +322,12 @@ public abstract class AbstractParserOpti
     registerEntity("rdquo","\u201D");
     registerEntity("bdquo","\u201E");
     registerEntity("dagger","\u2020");
-    registerEntity("dagger","\u2021");
+    registerEntity("Dagger","\u2021");
     registerEntity("bull","\u2022");
     registerEntity("hellip","\u2026");
     registerEntity("permil","\u2030");
     registerEntity("prime","\u2032");
-    registerEntity("prime","\u2033");
+    registerEntity("Prime","\u2033");
     registerEntity("lsaquo","\u2039");
     registerEntity("rsaquo","\u203A");
     registerEntity("oline","\u203E");
@@ -344,11 +344,11 @@ public abstract class AbstractParserOpti
     registerEntity("darr","\u2193");
     registerEntity("harr","\u2194");
     registerEntity("crarr","\u21B5");
-    registerEntity("larr","\u21D0");
-    registerEntity("uarr","\u21D1");
-    registerEntity("rarr","\u21D2");
-    registerEntity("darr","\u21D3");
-    registerEntity("harr","\u21D4");
+    registerEntity("lArr","\u21D0");
+    registerEntity("uArr","\u21D1");
+    registerEntity("rArr","\u21D2");
+    registerEntity("dArr","\u21D3");
+    registerEntity("hArr","\u21D4");
     registerEntity("forall","\u2200");
     registerEntity("part","\u2202");
     registerEntity("exist","\u2203");
@@ -401,7 +401,7 @@ public abstract class AbstractParserOpti
   }
   
   public String resolveEntity(String name) {
-    return resolveentities ? entities.get(name.toLowerCase()) : null;
+    return resolveentities ? entities.get(name) : null;
   }
   
   public ParserOptions setResolveEntities(boolean resolve) {



Mime
View raw message