JuliaIO / LibExpat.jl

Julia interface to the Expat XML parser library
Other
9 stars 32 forks source link

Add many more features to xpath #9

Closed vtjnash closed 11 years ago

vtjnash commented 11 years ago

This provides a much more thorough coverage of xpath functionality, including the ability to retrieve attributes and text, and execute most functions, and more. The README is also updated.

Tests are still needed -- I was concerned that the copyright on the microsoft file may not be appropriate for inclusion here. Thoughts?

amitmurthy commented 11 years ago

Getting the following error :

amitm@amitm-laptop:~/Work/julia/LibExpat/test$ julia test.jl 
PASSED 1
ERROR: type cannot be constructed
 in find at /home/amitm/.julia/LibExpat/src/LibExpat.jl:352
 in include_from_node1 at loading.jl:91
 in process_options at client.jl:251
 in _start at client.jl:323
at /home/amitm/Work/julia/LibExpat/test/test.jl:8

On the microsoft xml file, you are right. We should have our own sample XML file for xpath tests....or maybe this one http://en.wikibooks.org/wiki/XQuery/XPath_examples ?

vtjnash commented 11 years ago

Sorry about that. I changed the type of some stuff in XPath.