abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r503583 - /incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java
Date Mon, 05 Feb 2007 08:17:24 GMT
Author: jmsnell
Date: Mon Feb  5 00:17:24 2007
New Revision: 503583

URL: http://svn.apache.org/viewvc?view=rev&rev=503583
Log:
don't use a deprecated API

Modified:
    incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java

Modified: incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java?view=diff&rev=503583&r1=503582&r2=503583
==============================================================================
--- incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java
(original)
+++ incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java
Mon Feb  5 00:17:24 2007
@@ -485,8 +485,8 @@
       OMAttribute attr = (OMAttribute) i.next();
       String namespace = 
         (attr.getNamespace() != null) ? 
-          attr.getNamespace().getName() : "";
-      if (!namespace.equals(getNamespace().getName()) &&
+          attr.getNamespace().getNamespaceURI() : "";
+      if (!namespace.equals(getNamespace().getNamespaceURI()) &&
           !namespace.equals(""))
         list.add(attr.getQName());
     }



Mime
View raw message