abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1371962 - /abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java
Date Sat, 11 Aug 2012 14:41:19 GMT
Author: veithen
Date: Sat Aug 11 14:41:19 2012
New Revision: 1371962

URL: http://svn.apache.org/viewvc?rev=1371962&view=rev
Log:
Realigned the control flow in FOMBuilder with the control flow in the standard Axiom builders.

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

Modified: abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java?rev=1371962&r1=1371961&r2=1371962&view=diff
==============================================================================
--- abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java (original)
+++ abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java Sat
Aug 11 14:41:19 2012
@@ -94,6 +94,8 @@ public class FOMBuilder extends StAXOMBu
             node = constructNode((OMElement)lastNode, elementName);
             ((OMContainerEx)e).setFirstChild(node);
         }
+        this.processNamespaceData(node);
+        processAttributes(node);
         return node;
     }
 
@@ -263,8 +265,6 @@ public class FOMBuilder extends StAXOMBu
         if (element == null) {
             element = new FOMElement(qname, parent, fomfactory, this);
         }
-        this.processNamespaceData(element);
-        processAttributes(element);
         return element;
     }
 



Mime
View raw message