[MOBY] [MOBY-dev] possible bug in an error message

Mark Wilkinson markw at illuminae.com
Wed Oct 15 09:01:02 EDT 2003


try now Martin - I think it should work.

M

On Wed, 2003-10-15 at 04:07, Martin Senger wrote:
> Mark,
>    Trying to register a service type but forgetting to send email contact
> I get an error message (which is fine) but the message does not seem to be
> well-formatted (which is not fine :-)). Here are my XML inputs and the XML
> I am getting back from moby central:
> 
> METHOD CALL: registerServiceType
> ------------
> <registerServiceType><serviceType>mys</serviceType><contactEmail></contactEmail><authURI>me.net</authURI><Description><![CDATA[mysdesc]]></Description><Relationship
> relationshipType="ISA"><serviceType>Parsing</serviceType>
> </Relationship></registerServiceType>
> 
> ------------
> 
> METHOD RETURN:
> ------------
> <MOBYRegistration>
>                                 <id></id>
>                                 <success>0</success>
>                                 <message><![CDATA[Malformed XML
> 
> <registerServiceType><serviceType>mys</serviceType><contactEmail></contactEmail><authURI>me.net</authURI><Description><![CDATA[mysdesc]]></Description><Relationship
> relationshipType="ISA"><serviceType>Parsing</serviceType>
> </Relationship></registerServiceType>
>  may be missing required parameters serviceType=mys, Description=mysdesc,
> authURI=me.net or contactEmail=]]></message>
>                         </MOBYRegistration>
> 
> ------------
> 
> This is what my XML parser says when parsing the returned XML:
> [Fatal Error] :5:141: The element type "message" must be terminated by the
> matching end-tag "</message>".
> 
> 
>    Regards,
>    Martin
-- 
Mark Wilkinson <markw at illuminae.com>
Illuminae



More information about the MOBY-dev mailing list