Interesting. So it appears the parameters aren't passed in correctly. Very odd.
This this:
Code:
<extension>
<title>Sunlight API Extension</title>
<lable>Sunlight</lable>
<copyright>Copyright (c) 2008 BytesFree.org</copyright>
<description>This extension contains functions for retreiving content from the Sunlight Foundation API</description>
<namespace>sunlight</namespace>
<function>
<name>peopleConvertID</name>
<description>Convert between one ID and another, e.g. given an input VoteSmart ID, return the equivalent GovTrack ID</description>
<param name="id" type="str">An ID of any type</param>
<param name="fromcode" type="str">one of the codes above specifiying what type of input ID this is</param>
<param name="tocode" type="str">type of output id</param>
<return>
<html xmlns:eval="http://mindtouch.com/2007/dekiscript">
<head></head>
<body>
<eval:expr>args</eval:expr>
</body>
</html>
</return>
</function>
</extension>
Note that if you're using 1.9.0b, the following should do the same:
Code:
<extension>
<title>Sunlight API Extension</title>
<lable>Sunlight</lable>
<copyright>Copyright (c) 2008 BytesFree.org</copyright>
<description>This extension contains functions for retreiving content from the Sunlight Foundation API</description>
<namespace>sunlight</namespace>
<function>
<name>peopleConvertID</name>
<description>Convert between one ID and another, e.g. given an input VoteSmart ID, return the equivalent GovTrack ID</description>
<param name="id" type="str">An ID of any type</param>
<param name="fromcode" type="str">one of the codes above specifiying what type of input ID this is</param>
<param name="tocode" type="str">type of output id</param>
<return type="map">args</return>
</function>
</extension>
Either one should show you the complete 'args' instance that was passed in.