use tag name 'result' for sample data to match data returned by services

--HG--
extra : source : d6ac5de7ab98151eae6e99462c7d15141515ecf0
This commit is contained in:
Doug Hellmann 2012-12-05 13:06:25 -05:00
parent 38f5dd2bfd
commit 4fb26f6f2d

View File

@ -255,7 +255,7 @@ def encode_error(context, errordetail):
def encode_sample_value(datatype, value, format=False):
r = toxml(datatype, 'value', value)
r = toxml(datatype, 'result', value)
if format:
xml_indent(r)
content = et.tostring(r)