Openxcap Parsing Error: xml declaration not at start of external entity

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Openxcap Parsing Error: xml declaration not at start of external entity

server monitor
Has anyone seen this type of error?

GET is successful but POST returns the following error:

Jun  8 17:14:16 xcap openxcap[3603]: error: 12.111.111.111 'PUT /xcap-root/pres-rules/users/8888888888/pres-rules.xml/~~/cr%3aruleset/cr%3arule%5b%40id=%22EmoWhiteList%22%5d/cr%3aconditions/cr%3aidentity/cr%3aone?xmlns(cr=urn%3aietf%3aparams%3axml%3ans%3acommon-policy) HTTP/1.1' 500 0 96 - -



Jun  8 17:14:16 xcap openxcap[3603]: error: REQUEST: <?xml version="1.0" encoding="UTF-8"?><cr:one id="[hidden email]" xmlns:cr="urn:ietf:params:xml:ns:common-policy"  />
Jun  8 17:14:16 xcap openxcap[3603]: error: RESPONSE headers:
Jun  8 17:14:16 xcap openxcap[3603]: error: #011Content-Type: text/plain
Jun  8 17:14:16 xcap openxcap[3603]: error: TRACEBACK (most recent call last):
Jun  8 17:14:16 xcap openxcap[3603]: error: #011  File "/usr/lib/python2.5/site-packages/twisted/internet/base.py", line 1057, in mainLoop
Jun  8 17:14:16 xcap openxcap[3603]: error: #011    self.runUntilCurrent()
Jun  8 17:14:16 xcap openxcap[3603]: error: #011  File "/usr/lib/python2.5/site-packages/twisted/internet/base.py", line 677, in runUntilCurrent
Jun  8 17:14:16 xcap openxcap[3603]: error: #011    f(*a, **kw)
Jun  8 17:14:16 xcap openxcap[3603]: error: #011  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 243, in callback
Jun  8 17:14:16 xcap openxcap[3603]: error: #011    self._startRunCallbacks(result)
Jun  8 17:14:16 xcap openxcap[3603]: error: #011  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 312, in _startRunCallbacks
Jun  8 17:14:16 xcap openxcap[3603]: error: #011    self._runCallbacks()
Jun  8 17:14:16 xcap openxcap[3603]: error: #011--- <exception caught here> ---
Jun  8 17:14:16 xcap openxcap[3603]: error: #011  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 328, in _runCallbacks
Jun  8 17:14:16 xcap openxcap[3603]: error: #011    self.result = callback(self.result, *args, **kw)
Jun  8 17:14:16 xcap openxcap[3603]: error: #011  File "/usr/lib/pymodules/python2.5/xcap/appusage/__init__.py", line 168, in _cb_put_element
Jun  8 17:14:16 xcap openxcap[3603]: error: #011    get_result = element.get(new_document, uri.node_selector.element_selector)
Jun  8 17:14:16 xcap openxcap[3603]: error: #011  File "/usr/lib/pymodules/python2.5/xcap/element.py", line 384, in get
Jun  8 17:14:16 xcap openxcap[3603]: error: #011    location = find(document, element_selector)
Jun  8 17:14:16 xcap openxcap[3603]: error: #011  File "/usr/lib/pymodules/python2.5/xcap/element.py", line 371, in find
Jun  8 17:14:16 xcap openxcap[3603]: error: #011    parser.parse(StringIO(document))
Jun  8 17:14:16 xcap openxcap[3603]: error: #011  File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py", line 109, in parse
Jun  8 17:14:16 xcap openxcap[3603]: error: #011    xmlreader.IncrementalParser.parse(self, source)
Jun  8 17:14:16 xcap openxcap[3603]: error: #011  File "/usr/lib/python2.5/site-packages/_xmlplus/sax/xmlreader.py", line 123, in parse
Jun  8 17:14:16 xcap openxcap[3603]: error: #011    self.feed(buffer)
Jun  8 17:14:16 xcap openxcap[3603]: error: #011  File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py", line 220, in feed
Jun  8 17:14:16 xcap openxcap[3603]: error: #011    self._err_handler.fatalError(exc)
Jun  8 17:14:16 xcap openxcap[3603]: error: #011  File "/usr/lib/python2.5/site-packages/_xmlplus/sax/handler.py", line 38, in fatalError
Jun  8 17:14:16 xcap openxcap[3603]: error: #011    raise exception
Jun  8 17:14:16 xcap openxcap[3603]: error: #011xml.sax._exceptions.SAXParseException: <unknown>:1:246: xml declaration not at start of external entity


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users