WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] [PATCH 17 of 17] [rpc-light] In xmlrpc, when waiting for a tag

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH 17 of 17] [rpc-light] In xmlrpc, when waiting for a tag opening, do not pay attention to any DTD
From: Thomas Gazagnaire <thomas.gazagnaire@xxxxxxxxxx>
Date: Fri, 8 Jan 2010 13:49:30 +0000
Delivery-date: Fri, 08 Jan 2010 06:05:21 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1262958553@steel>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Thomas Gazagnaire <thomas.gazagnaire@xxxxxxxxxx>
# Date 1262958466 0
# Node ID 43b829970c8cd5b8825724d2525c37b3ad3d6557
# Parent  28e332232a4922c6172a64055671272deef026b4
[rpc-light] In xmlrpc, when waiting for a tag opening, do not pay attention to 
any DTD

Signed-off-by: Thomas Gazagnaire <thomas.gazagnaire@xxxxxxxxxx>

diff -r 28e332232a49 -r 43b829970c8c rpc-light/xmlrpc.ml
--- a/rpc-light/xmlrpc.ml       Fri Jan 08 13:47:46 2010 +0000
+++ b/rpc-light/xmlrpc.ml       Fri Jan 08 13:47:46 2010 +0000
@@ -207,7 +207,7 @@
 
        let rec open_tag input =
                match Xmlm.input input with
-               | `Dtd _                  -> parse_error "dtd" "open_tag" input
+               | `Dtd _                  -> open_tag input
                | `El_start ((_,tag),_)   -> tag
                | `Data d when is_empty d -> open_tag input
                | `Data d                 -> parse_error (sprintf "data(%s)" 
(String.escaped d)) "open_tag" input
1 file changed, 1 insertion(+), 1 deletion(-)
rpc-light/xmlrpc.ml |    2 +-


Attachment: xen-api-libs.hg-17.patch
Description: Text Data

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>