[XML-SIG] XMLRPC and SOAPpy installation problem?
Joshua Boverhof
JRBoverhof at lbl.gov
Thu Aug 25 19:56:57 CEST 2005
Most likely the "xsd" prefix is used, but not set in the XML instance.
Missing <... xmlns:xsd="..." >
-josh
Piers Finlayson wrote:
> Hi,
>
> I have installed PyXML-0.8.4 on a Solaris 9 x86 machine running python
> 2.2 and SOAPpy 0.11.6. I am hitting this problem whenever my
> application receiveds a SOAP message:
>
> *** Internal exception xsd *********************************************
> Traceback (most recent call last):
> File "/opt/sfw/lib/python2.2/site-packages/SOAPpy/Server.py", line
> 229, in do_POST
> (r, header, body, attrs) = \
> File "/opt/sfw/lib/python2.2/site-packages/SOAPpy/Parser.py", line
> 1006, in parseSOAPRPC
> t = _parseSOAP(xml_str, rules = rules)
> File "/opt/sfw/lib/python2.2/site-packages/SOAPpy/Parser.py", line
> 985, in _parseSOAP
> parser.parse(inpsrc)
> File
> "/opt/sfw/lib/python2.2/site-packages/_xmlplus/sax/xmlreader.py", line
> 123, in parse
> self.feed(buffer)
> File
> "/opt/sfw/lib/python2.2/site-packages/_xmlplus/sax/drivers2/drv_xmlproc.py",
> line 96, in feed
> self._parser.feed(data)
> File
> "/opt/sfw/lib/python2.2/site-packages/_xmlplus/parsers/xmlproc/xmlutils.py",
> line 332, in feed
> self.do_parse()
> File
> "/opt/sfw/lib/python2.2/site-packages/_xmlplus/parsers/xmlproc/xmlproc.py",
> line 91, in do_parse
> self.parse_end_tag()
> File
> "/opt/sfw/lib/python2.2/site-packages/_xmlplus/parsers/xmlproc/xmlproc.py",
> line 357, in parse_end_tag
> self.app.handle_end_tag(name)
> File
> "/opt/sfw/lib/python2.2/site-packages/_xmlplus/sax/drivers2/drv_xmlproc.py",
> line 381, in handle_end_tag
> self._cont_handler.endElementNS(name, rawname)
> File "/opt/sfw/lib/python2.2/site-packages/SOAPpy/Parser.py", line
> 234, in endElementNS
> kind = (self._prem[kind[:i]], kind[i + 1:])
> KeyError: xsd
> ************************************************************************
>
> Does this imply some sort of installation or other problem with xmlrpc?
>
> Cheers,
> Piers
>
>------------------------------------------------------------------------
>
>_______________________________________________
>XML-SIG maillist - XML-SIG at python.org
>http://mail.python.org/mailman/listinfo/xml-sig
>
>
More information about the XML-SIG
mailing list