abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r421676 - /incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMFactory.java
Date Thu, 13 Jul 2006 18:19:39 GMT
Author: jmsnell
Date: Thu Jul 13 11:19:38 2006
New Revision: 421676

URL: http://svn.apache.org/viewvc?rev=421676&view=rev
Log:
Clone was broken for FOMContent.We need some clone unit tests.

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

Modified: incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMFactory.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMFactory.java?rev=421676&r1=421675&r2=421676&view=diff
==============================================================================
--- incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMFactory.java
(original)
+++ incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMFactory.java
Thu Jul 13 11:19:38 2006
@@ -696,7 +696,7 @@
           Content.Type type = (Content.Type)objecttype;
           element = (OMElement) _newInstance(
             qclasses.get(qname), CONSTRUCTORS[10], 
-            type, qname.getLocalPart(), namespace, parent, this);
+            qname.getLocalPart(), namespace, type, parent, this);
         } else if (isText(qname)) {
           Text.Type type = (Text.Type)objecttype;
           element = (OMElement) _newInstance(
@@ -820,9 +820,9 @@
       OMFactory.class,
       OMXMLParserWrapper.class},
     new Class[] {
-      Content.Type.class,
       String.class, 
-      OMNamespace.class, 
+      OMNamespace.class,
+      Content.Type.class,
       OMContainer.class, 
       OMFactory.class},
     new Class[] {



Mime
View raw message