abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r429482 - /incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java
Date Mon, 07 Aug 2006 21:25:25 GMT
Author: jmsnell
Date: Mon Aug  7 14:25:25 2006
New Revision: 429482

URL: http://svn.apache.org/viewvc?rev=429482&view=rev
Log:
Better handling of qnames on element creation

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?rev=429482&r1=429481&r2=429482&view=diff
==============================================================================
--- 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 Aug  7 14:25:25 2006
@@ -83,7 +83,13 @@
     OMContainer parent, 
     OMFactory factory) 
       throws OMException {
-    super(qname, parent, factory);
+    super(
+        qname.getLocalPart(), 
+        factory.createOMNamespace(
+          qname.getNamespaceURI(), 
+          qname.getPrefix()),
+        parent,
+        factory);
   }
 
   public FOMElement(



Mime
View raw message