Roll back previous change to the root XML tag name for sample data.

This commit is contained in:
Doug Hellmann 2012-12-07 16:09:14 -05:00
parent bd36dc2f35
commit 23a276058d

View File

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