Documentation Errors?

These may or may not be errors but I'll report, you decide.

I don't believe the value children of the param elements in an xml-rpc methodCall are optional. However in the MSDN documentation the example for both newPost and editPost methods have the type (struct) as a direct child of param. I believe the correct sequence to be <param><value><struct> not <param><struct>.

Additionaly on the same methods the last parameter (publish) is of type boolean yet the example has the value directly in the param element, making it a string. I believe the correct sequence to be <param><boolean>1 not <param>1.

This isn't an error but the examples are also extremely ugly (sorry but I call it how I see it), it would be nice if some indentation scheme could be used to make them more readable.

Thank you.

[882 byte] By [NickHanson] at [2008-2-15]
# 1

I've reported the errors in the documentation to our documentation team.

Sorry about the late response. :(

DareObasanjo-MSFT at 2007-9-8 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Spaces: Development...

Windows Live Developer Forums

Site Classified