As of 0.7.0, I'm experiencing a problem with XPath attribute
selectors.

When:
  my_node contains <highlight from="3" to="9" type="queryTerm"/>

The attribute selector no longer works:
  my_node.find_first('@from') => nil

It worked in 0.5.4 & 0.6.0.

Any idea what's up with that?
*Mars


Charlie Savage wrote:
> Ok, I've just pushed up a 0.7.0 libxml release.  I thought about calling
> it 0.6.1, but there were both API changes (attributes) and a fair number
> of internal changes, so I went with 0.7.0.
>
> I also marked this release as stable - at this point I think the library
> is in good shape.  So please download it and give it a spin.
>
> Changes:
>
> * Added new attributes class to provide a more natural way of working
> with attributes
>
> * Fixed XML::Attr to better support namespaces
>
> * Added documentation on how to use namespaces with XPath
>
> * Removed allocation of extraneous structures used to wrap nodes,
> namespaces and attributes
>
> * Cleaned up tests and added new test suite
>
> * Updated rdocs and README file
>
> * Cleaned out most of the bug list
>
> * Fixed up eql? test
>
> Thanks,
>
> Charlie
>
> _______________________________________________
> libxml-devel mailing list
> libxml-devel@rubyforge.org
> http://rubyforge.org/mailman/listinfo/libxml-devel
_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to