[MOBY-dev] possible bug in an error message

Martin Senger senger at ebi.ac.uk
Wed Oct 15 12:07:12 EDT 2003


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

-- 
Martin Senger

EMBL Outstation - Hinxton                Senger at EBI.ac.uk     
European Bioinformatics Institute        Phone: (+44) 1223 494636      
Wellcome Trust Genome Campus             (Switchboard:     494444)
Hinxton                                  Fax  : (+44) 1223 494468
Cambridge CB10 1SD
United Kingdom                           http://industry.ebi.ac.uk/~senger



More information about the MOBY-dev mailing list