|
|
|
|
|
|
|
|
|
|
xen-api
[Xen-API] [PATCH 17 of 17] [rpc-light] In xmlrpc, when waiting for a tag
# 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 +-
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>
|
- [Xen-API] [PATCH 01 of 17] [rpc-light] Make the abstraction layer more uniform, especially for the error handling, (continued)
- [Xen-API] [PATCH 01 of 17] [rpc-light] Make the abstraction layer more uniform, especially for the error handling, Thomas Gazagnaire
- [Xen-API] [PATCH 04 of 17] [rpc-light] Add a function to parse XMLRPC from an input channel, Thomas Gazagnaire
- [Xen-API] [PATCH 06 of 17] [rpc-light] Add some basic RPC int functions, Thomas Gazagnaire
- [Xen-API] [PATCH 09 of 17] [rpc-light] Add some friendly error messages on runtime errors, Thomas Gazagnaire
- [Xen-API] [PATCH 08 of 17] [rpc-light] Add a function to marshal and unmarshal XMLRPC to a bigbuffer, Thomas Gazagnaire
- [Xen-API] [PATCH 07 of 17] [rpc-light] Add some basic RPC int functions, Thomas Gazagnaire
- [Xen-API] [PATCH 05 of 17] [rpc-light] Add some explicit runtime exceptions when an runtime error occurs, Thomas Gazagnaire
- [Xen-API] [PATCH 02 of 17] [rpc-light] Backport the value library and clean-up the Makefile and the library building, Thomas Gazagnaire
- [Xen-API] [PATCH 11 of 17] [rpc-light] Never call 'exit i' on error, because that's not good when you run it in a daemon, Thomas Gazagnaire
- [Xen-API] [PATCH 16 of 17] [rpc-light] when (un)marshaling variant, if it has no arguments then consider it as a string, Thomas Gazagnaire
- [Xen-API] [PATCH 17 of 17] [rpc-light] In xmlrpc, when waiting for a tag opening, do not pay attention to any DTD,
Thomas Gazagnaire <=
- [Xen-API] [PATCH 14 of 17] [rpc-light] Protect the XML strings as xml-light2, Thomas Gazagnaire
- [Xen-API] [PATCH 10 of 17] [rpc-light] Fix-up some bugs in the XML parser code, Thomas Gazagnaire
- [Xen-API] [PATCH 15 of 17] [rpc-light] Optimize the way (string * t) list are marshaled, Thomas Gazagnaire
- [Xen-API] [PATCH 13 of 17] [rpc-light] XMLRPC fault need to be parsed correctly, Thomas Gazagnaire
- [Xen-API] [PATCH 12 of 17] [rpc-light] Do not wait for an optional field when unparsing an {JSON, XML}RPC, Thomas Gazagnaire
|
|
|
|
|