[MOBY-l] XML Parser Error

Vijay Narayanasamy VNarayan at mail.brc.mcw.edu
Tue Aug 5 23:28:20 UTC 2003


Hi,

I am getting this mismatch tag error when getting input from the client

"mismatched tag at line 6, column 2, byte 232 at
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/XML/Parser.pm line 185"

The code fragment that I used to execute my service is

$Service -> execute (XMLinputlist =>[['ccc','<Object
namespace="Global_Keyword" id="1234568" >'],['ccc','<Object
namespace="Global_Keyword" id="1234568" >']]);

Could some one show me where the error is and how to overcome? 

I'm running a MOBY central locally

---XML Input generated---


<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"xmlns:SOAPENC="http://s
chemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

<SOAP-ENV:Body>
<namesp3:GetPubmed xmlns:namesp3="http://biomoby.org/">
<body>

<![CDATA[<?xml version='1.0' encoding='UTF-8'?>

<moby:MOBY xmlns:moby='http://www.biomoby.org/moby-s'>

<moby:Query>

<moby:queryInput moby:articleName='ccc'>
<moby:Simple>
<Object namespace="Global_Keyword" id="1234568" >
</moby:Simple>
</moby:queryInput>

<moby:queryInput moby:articleName='ccc'>
<moby:Simple>
<Object namespace="Global_Keyword" id="1234567" >
</moby:Simple>
</moby:queryInput>
	      
</moby:Query>

</moby:MOBY>]]>               

</body>

</namesp3:GetPubmed>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


Thanks,

Vijay

Vijay Narayanasamy
Bioinformatics Research Center
Medical College of Wisconsin
8701, W. Watertown Plank Road
Milwaukee, WI 53226
414-491-3443




More information about the moby-l mailing list