5.2.23
06/10/2023

[#161] XPath parser is not namespace-aware
Summary XPath parser is not namespace-aware
Queue gloox
Queue Version SVN
Type Bug
State Accepted
Priority 2. Medium
Owners js (at) camaya (dot) net
Requester euroelessar (at) gmail (dot) com
Created 10/25/2009 (4976 days ago)
Due
Updated 03/04/2010 (4846 days ago)
Assigned 10/25/2009 (4976 days ago)
Resolved

History
03/04/2010 06:51:25 PM Jakob Schröter Comment #6
Assigned to Jakob Schröter
State ⇒ Accepted
Reply to this comment
working on it
03/03/2010 10:43:46 AM Comment #5
Priority ⇒ 2. Medium
Reply to this comment
Please, fix it ASAP, it isvery important to work with Google ChatBack service
11/01/2009 07:47:16 PM Jakob Schröter Summary ⇒ XPath parser is not namespace-aware
 
10/25/2009 08:37:36 PM Jakob Schröter Comment #4
Priority ⇒ 1. Low
State ⇒ Assigned
Type ⇒ Bug
Reply to this comment
Hm, right. The problem is not with the parser, though, but with the 
xpath implementation.
10/25/2009 08:34:15 PM euroelessar (at) gmail (dot) com Comment #3 Reply to this comment
It looks like you haven't understood situation. StanzaExtensionFactory 
doesn't understand that this stanza has Capabilities SE at all, but 
i.e. Psi's caps (which doesn't support new format yet) are recognized 
well.
The trouble is in namespaces, your parser doesn't understand that 
<caps:c .. > is the same as <c .. >
10/25/2009 08:27:20 PM Jakob Schröter Priority ⇒ 1. Low
State ⇒ Assigned
Type ⇒ Enhancement
 
10/25/2009 08:26:55 PM Jakob Schröter Comment #2 Reply to this comment
This seems to be the legacy Caps format: 
<http://xmpp.org/extensions/xep-0115.html#legacy>. Will set the type 
to enhancement request.
10/25/2009 06:51:24 AM euroelessar (at) gmail (dot) com Comment #1
State ⇒ Unconfirmed
Queue ⇒ gloox
Summary ⇒ Caps from GMail talk gadget
Type ⇒ Bug
Priority ⇒ 1. Low
Reply to this comment
<presence from='node@gmail.com/resource' to='me@server'>
<priority>0</priority>
<caps:c xmlns:caps='http://jabber.org/protocol/caps
node='http://mail.google.com/xmpp/client/caps' ver='1.1' ext='pmuc-v1 
sms-v1'/>
<status>some status text</status>
<show>dnd</show>
<x xmlns='vcard-temp:x:update'>
<photo>ebe9172b22422b9e57192c0123126fb99ada53d8</photo>
</x>
</presence>

gloox's Capabilities SE doesn't handle this capabilities from GMail 
talk gadget, so my client doesn't know about it and client version 
detection works wrong