abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r589491 - in /incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/filter: CompoundParseFilter.java NonOpParseFilter.java SafeContentWhiteListParseFilter.java WhiteListParseFilter.java
Date Mon, 29 Oct 2007 04:42:31 GMT
Author: jmsnell
Date: Sun Oct 28 21:42:28 2007
New Revision: 589491

URL: http://svn.apache.org/viewvc?rev=589491&view=rev
Log:
Fix some parser warnings and account for mixed cased tag names

Modified:
    incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/filter/CompoundParseFilter.java
    incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/filter/NonOpParseFilter.java
    incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/filter/SafeContentWhiteListParseFilter.java
    incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/filter/WhiteListParseFilter.java

Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/filter/CompoundParseFilter.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/filter/CompoundParseFilter.java?rev=589491&r1=589490&r2=589491&view=diff
==============================================================================
--- incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/filter/CompoundParseFilter.java
(original)
+++ incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/filter/CompoundParseFilter.java
Sun Oct 28 21:42:28 2007
@@ -40,6 +40,8 @@
   extends AbstractParseFilter
   implements ParseFilter {
 
+  private static final long serialVersionUID = -7871289035422204698L;
+
   public enum Condition {
     ACCEPTABLE_TO_ALL,
     ACCEPTABLE_TO_ANY,

Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/filter/NonOpParseFilter.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/filter/NonOpParseFilter.java?rev=589491&r1=589490&r2=589491&view=diff
==============================================================================
--- incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/filter/NonOpParseFilter.java
(original)
+++ incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/filter/NonOpParseFilter.java
Sun Oct 28 21:42:28 2007
@@ -22,6 +22,8 @@
 public class NonOpParseFilter 
   extends AbstractParseFilter {
 
+  private static final long serialVersionUID = -1895875728388522456L;
+
   public boolean acceptable(QName qname) {
     return true;
   }

Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/filter/SafeContentWhiteListParseFilter.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/filter/SafeContentWhiteListParseFilter.java?rev=589491&r1=589490&r2=589491&view=diff
==============================================================================
--- incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/filter/SafeContentWhiteListParseFilter.java
(original)
+++ incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/filter/SafeContentWhiteListParseFilter.java
Sun Oct 28 21:42:28 2007
@@ -26,6 +26,8 @@
   extends AbstractParseFilter
   implements ParseFilter {
 
+  private static final long serialVersionUID = -4802312485715572721L;
+
   private static enum xhtml_elements {
     a, abbr, acronym, address, area, b, bdo, big, blockquote, 
     br, button, caption, center, cite, code, col, colgroup, 
@@ -72,7 +74,7 @@
       try {
         xhtml_attributes.valueOf(
           xhtml_attributes.fix(
-            attribute.getLocalPart()));
+            attribute.getLocalPart().toLowerCase()));
         return true;
       } catch (Exception e) {}
       return false;

Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/filter/WhiteListParseFilter.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/filter/WhiteListParseFilter.java?rev=589491&r1=589490&r2=589491&view=diff
==============================================================================
--- incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/filter/WhiteListParseFilter.java
(original)
+++ incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/filter/WhiteListParseFilter.java
Sun Oct 28 21:42:28 2007
@@ -27,6 +27,7 @@
 public class WhiteListParseFilter 
   extends AbstractListParseFilter {
 
+  private static final long serialVersionUID = -2126524829459798481L;
   private final boolean listAttributesExplicitly;
   
   public WhiteListParseFilter() {



Mime
View raw message