abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r438583 - /incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMEntry.java
Date Wed, 30 Aug 2006 18:46:07 GMT
Author: jmsnell
Date: Wed Aug 30 11:46:07 2006
New Revision: 438583

URL: http://svn.apache.org/viewvc?rev=438583&view=rev
Log:
Declare the APP namespace on the entry level when the app:modified element is used

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

Modified: incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMEntry.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMEntry.java?rev=438583&r1=438582&r2=438583&view=diff
==============================================================================
--- incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMEntry.java
(original)
+++ incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMEntry.java
Wed Aug 30 11:46:07 2006
@@ -612,6 +612,7 @@
   }
 
   public void setModifiedElement(DateTime updated) {
+    declareNamespace(APP_NS, "app");
     if (updated != null)
       _setChild(MODIFIED, (OMElement)updated);
     else 
@@ -624,6 +625,7 @@
   }
   
   private DateTime setModified(AtomDate value) {
+    declareNamespace(APP_NS, "app");
     if (value == null) {
       _removeChildren(MODIFIED, false);
       return null;



Mime
View raw message