You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@abdera.apache.org by jm...@apache.org on 2008/01/14 20:16:10 UTC

svn commit: r611892 - /incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java

Author: jmsnell
Date: Mon Jan 14 11:16:09 2008
New Revision: 611892

URL: http://svn.apache.org/viewvc?rev=611892&view=rev
Log:
CCE bug

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

Modified: incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java?rev=611892&r1=611891&r2=611892&view=diff
==============================================================================
--- incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java (original)
+++ incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java Mon Jan 14 11:16:09 2008
@@ -257,6 +257,7 @@
     } catch (OMException e) {
         throw new ParseException(e);
     } catch (Exception e) {
+      e.printStackTrace();
         throw new ParseException(e);
     }
   }
@@ -382,10 +383,10 @@
               omElement.addChild(text);
               return text;
           } else {
-              return new FOMTextValue(omElement, value, textType, (OMFactory)this);
+              return new FOMTextValue(omElement, value, textType, (OMFactory)this.fomfactory);
           }
       } catch (IllegalArgumentException e) {
-          return new FOMTextValue(omElement, value, textType, (OMFactory)this);
+          return new FOMTextValue(omElement, value, textType, (OMFactory)this.fomfactory);
       }
   }
 }