[prev in list] [next in list] [prev in thread] [next in thread]
List: slide-dev
Subject: cvs commit: jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods PropPatchMethod.java P
From: jericho () apache ! org
Date: 2001-02-27 7:56:31
[Download RAW message or body]
jericho 01/02/26 23:56:31
Modified: src/webdav/client/src/org/apache/webdav/lib/methods
PropPatchMethod.java PropFindMethod.java
Log:
- Make the XML document query more strict.
Revision Changes Path
1.13 +7 -8 \
jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/PropPatchMethod.java
Index: PropPatchMethod.java
===================================================================
RCS file: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/PropPatchMethod.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- PropPatchMethod.java 2001/02/15 17:40:18 1.12
+++ PropPatchMethod.java 2001/02/27 07:56:31 1.13
@@ -1,7 +1,7 @@
/*
- * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/PropPatchMethod.java,v \
1.12 2001/02/15 17:40:18 remm Exp $
- * $Revision: 1.12 $
- * $Date: 2001/02/15 17:40:18 $
+ * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/PropPatchMethod.java,v \
1.13 2001/02/27 07:56:31 jericho Exp $ + * $Revision: 1.13 $
+ * $Date: 2001/02/27 07:56:31 $
*
* ====================================================================
*
@@ -226,8 +226,8 @@
* @return String query
*/
public String generateQuery() {
-
- if (query != null)
+
+ if (query != null)
return query;
XMLPrinter printer = new XMLPrinter();
@@ -269,12 +269,11 @@
}
- printer.writeElement("D", "DAV:", "propertyupdate",
- XMLPrinter.CLOSING);
+ printer.writeElement("D", "propertyupdate", XMLPrinter.CLOSING);
query = printer.toString();
- return query;
+ return query;
}
1.16 +6 -6 \
jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/PropFindMethod.java \
Index: PropFindMethod.java
===================================================================
RCS file: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/PropFindMethod.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- PropFindMethod.java 2001/02/15 17:40:17 1.15
+++ PropFindMethod.java 2001/02/27 07:56:31 1.16
@@ -1,7 +1,7 @@
/*
- * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/PropFindMethod.java,v \
1.15 2001/02/15 17:40:17 remm Exp $
- * $Revision: 1.15 $
- * $Date: 2001/02/15 17:40:17 $
+ * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/PropFindMethod.java,v \
1.16 2001/02/27 07:56:31 jericho Exp $ + * $Revision: 1.16 $
+ * $Date: 2001/02/27 07:56:31 $
*
* ====================================================================
*
@@ -312,8 +312,8 @@
* @return String query
*/
public String generateQuery() {
-
- if (query != null)
+
+ if (query != null)
return query;
XMLPrinter printer = new XMLPrinter();
@@ -339,7 +339,7 @@
break;
}
- printer.writeElement("D", "DAV:", "propfind", XMLPrinter.CLOSING);
+ printer.writeElement("D", "propfind", WebdavXMLPrinter.CLOSING);
if (debug > 1) {
System.out.println("Request body:");
System.out.println(printer.toString());
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic