jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r374073 - in /incubator/jackrabbit/trunk/contrib/jcr-server/client/src/java/org/apache/jackrabbit/webdav/client/methods: PropFindMethod.java PropPatchMethod.java
Date Wed, 01 Feb 2006 14:20:51 GMT
Author: angela
Date: Wed Feb  1 06:20:47 2006
New Revision: 374073

URL: http://svn.apache.org/viewcvs?rev=374073&view=rev
Log:
PropFindMethod, PropPatchMethod: missing namespace declaration.

Modified:
    incubator/jackrabbit/trunk/contrib/jcr-server/client/src/java/org/apache/jackrabbit/webdav/client/methods/PropFindMethod.java
    incubator/jackrabbit/trunk/contrib/jcr-server/client/src/java/org/apache/jackrabbit/webdav/client/methods/PropPatchMethod.java

Modified: incubator/jackrabbit/trunk/contrib/jcr-server/client/src/java/org/apache/jackrabbit/webdav/client/methods/PropFindMethod.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-server/client/src/java/org/apache/jackrabbit/webdav/client/methods/PropFindMethod.java?rev=374073&r1=374072&r2=374073&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-server/client/src/java/org/apache/jackrabbit/webdav/client/methods/PropFindMethod.java
(original)
+++ incubator/jackrabbit/trunk/contrib/jcr-server/client/src/java/org/apache/jackrabbit/webdav/client/methods/PropFindMethod.java
Wed Feb  1 06:20:47 2006
@@ -89,6 +89,7 @@
             ByteArrayOutputStream out = new ByteArrayOutputStream();
             OutputFormat format = new OutputFormat("xml", "UTF-8", true);
             XMLSerializer serializer = new XMLSerializer(out, format);
+            serializer.setNamespaces(true);
             serializer.asDOMSerializer().serialize(document);
             setRequestBody(out.toString());
 

Modified: incubator/jackrabbit/trunk/contrib/jcr-server/client/src/java/org/apache/jackrabbit/webdav/client/methods/PropPatchMethod.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-server/client/src/java/org/apache/jackrabbit/webdav/client/methods/PropPatchMethod.java?rev=374073&r1=374072&r2=374073&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-server/client/src/java/org/apache/jackrabbit/webdav/client/methods/PropPatchMethod.java
(original)
+++ incubator/jackrabbit/trunk/contrib/jcr-server/client/src/java/org/apache/jackrabbit/webdav/client/methods/PropPatchMethod.java
Wed Feb  1 06:20:47 2006
@@ -61,6 +61,7 @@
             ByteArrayOutputStream out = new ByteArrayOutputStream();
             OutputFormat format = new OutputFormat("xml", "UTF-8", true);
             XMLSerializer serializer = new XMLSerializer(out, format);
+            serializer.setNamespaces(true);
             serializer.asDOMSerializer().serialize(document);
             setRequestBody(out.toString());
         } catch (ParserConfigurationException e) {



Mime
View raw message