> -----Original Message-----
> From: Dave Smith [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 01, 2001 10:15 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JDEV] Jabberd config file & namespaces
> ...
>
> The spec doesn't say anything about not containing ':'..if you look at
> the example namespace name (http://ecommerce.org/schema), you'll see
> that it has a ':' as a character in the namespace name.

  You're right, I mixed up namespace names and namespace prefixes.
jabber:config:jsm is a namespace name and can contain ':' - so my
problem is that I don't know how to match a node that is in the default
namespace in an XPath query. I worked around that by using
*[local-name()='jsm'] which is good enough for me.

  I think though that there the "jabberd" namespace prefix in the
jabber.xml from the distribution should be declared. I just added the
declaration (<jabber xmlns:jabberd="http://jabber.org";>) and everything
works fine now.

  Thanks!

Franck Mangin
FaceTime Communications
_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev

Reply via email to