From: Hauser, W. A. <Wol...@ea...> - 2005-08-03 10:00:03
|
Hello, I installed the latest snapshot of exist, and now the SOAP::Lite test script update.pl reports following error at function listCollection(). ---- Connecting ... Check Collection f125: duplicate attribute at line 1, column 741, byte 741 at /homes/ehauswo/lib/perl/lib/5.8.6/alpha-dec_osf/XML/Parser.pm line 187 <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"><soapenv:Body><ns1:lis tCollectionResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:exist"><listCollectionReturn href="#id0"/></ns1:listCollectionResponse><multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:Collection" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="urn:exist"><collections soapenc:arrayType="ns3:string[1]" xsi:type="soapenc:Array" xsi:type="soapenc:Array" xmlns:ns3="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><collections xsi:type="ns3:string">real_world</collections></collections><resources soapenc:arrayType="ns4:string[0]" xsi:type="soapenc:Array" xsi:type="soapenc:Array" xmlns:ns4="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></multiRef></soapenv: Body></soapenv:Envelope> at update.pl line 38 ---- There are attributes double defined in the result: <?xml version="1.0" encoding="utf-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"> <soapenv:Body> <ns1:listCollectionResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:exist"> <listCollectionReturn href="#id0"/> </ns1:listCollectionResponse> <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:Collection" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="urn:exist"> wrong:-->>>> <collections soapenc:arrayType="ns3:string[1]" |-->> xsi:type="soapenc:Array" xsi:type="soapenc:Array" <<--| xmlns:ns3="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <<<<-- wrong: <collections xsi:type="ns3:string">real_world</collections> </collections> wrong:-->>>> <resources soapenc:arrayType="ns4:string[0]" |-->> xsi:type="soapenc:Array" xsi:type="soapenc:Array" <<--| xmlns:ns4="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> <<<<-- wrong: </multiRef> </soapenv:Body> </soapenv:Envelope> The eXist-1.0b2-build-1107.jar works fine at this point. May be its a little bug. Regards Wolfgang Hauser |