[xml] XPath issue

2010-03-18 Thread Joshua Kwan
Hi there!

I've got an interesting problem about libxml2's XPath support posted on 
stackoverflow:
http://stackoverflow.com/questions/2459428/weird-xpath-behavior-in-libxml2
Please read about it there.

There haven't been any answers, so I thought I would consult the real libxml2 
mailing list before trying something else. I'm not subscribed to the list, so 
please CC me on replies.

Thanks in advance for any help you could provide!
BTW, I'm using libxml2 2.6.27 and a brief scan of the changelog didn't reveal 
anything that might describe my issue as a bug that's been fixed since.

-Josh
___
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml


Re: [xml] XPath issue

2010-03-18 Thread Darko Miletic
Your library version is old. Before doing anything else try using more 
recent version. You can do that on your dev. machine for test purporses.


Joshua Kwan wrote:

Hi there!

I've got an interesting problem about libxml2's XPath support posted on 
stackoverflow:
http://stackoverflow.com/questions/2459428/weird-xpath-behavior-in-libxml2
Please read about it there.

There haven't been any answers, so I thought I would consult the real libxml2 
mailing list before trying something else. I'm not subscribed to the list, so 
please CC me on replies.

Thanks in advance for any help you could provide!
BTW, I'm using libxml2 2.6.27 and a brief scan of the changelog didn't reveal 
anything that might describe my issue as a bug that's been fixed since.

-Josh
___
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml


__ Information from ESET Smart Security, version of virus signature 
database 4954 (20100318) __

The message was checked by ESET Smart Security.

http://www.eset.com


  

___
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml


Re: [xml] XPath issue

2010-03-18 Thread Rob Richards

Joshua Kwan wrote:

Hi there!

I've got an interesting problem about libxml2's XPath support posted on 
stackoverflow:
http://stackoverflow.com/questions/2459428/weird-xpath-behavior-in-libxml2
Please read about it there.

There haven't been any answers, so I thought I would consult the real libxml2 
mailing list before trying something else. I'm not subscribed to the list, so 
please CC me on replies.

Thanks in advance for any help you could provide!
BTW, I'm using libxml2 2.6.27 and a brief scan of the changelog didn't reveal 
anything that might describe my issue as a bug that's been fixed since.

  
Posted answer for you at stackoverflow but looks like a namespacing 
issue to me. You query for namespaced elements yet create non-namespaced 
ones.


Rob
___
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml


Re: [xml] XPath issue

2010-03-18 Thread Stefan Behnel

Joshua Kwan, 17.03.2010 18:21:

I've got an interesting problem about libxml2's XPath support posted on 
stackoverflow:
http://stackoverflow.com/questions/2459428/weird-xpath-behavior-in-libxml2
Please read about it there.

There haven't been any answers, so I thought I would consult the real libxml2 
mailing list before trying something else. I'm not subscribed to the list, so 
please CC me on replies.

Thanks in advance for any help you could provide!
BTW, I'm using libxml2 2.6.27 and a brief scan of the changelog didn't reveal 
anything that might describe my issue as a bug that's been fixed since.


Version 2.6.27 has known XPath issues. I'd certainly try upgrading before 
wasting time on anything else.


Stefan
___
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml