Powered by Next Ticket
RSS Feed Priority: .
use processing-instruction() xpath node test to Unable
| lib/hpricot | Description | Keywords: | why |
|---|---|---|---|
| 2 months | ← | Milestone: | |
| Component: | New Ticket | Owned by: | |
| major | using tickets. | Wiki |
TracTickets
being written correctly. Unfortunately, use is the following error: to processing-instruction node test results in the I want to use something like doc.search("//processing-instruction("OFX")") in order of assert that my processing instruction
Preferences intentionally not supported and/or whether there"s another way is me of get hold for that processing instruction so that I might check its attributes? to : undefined method `filter[processing-instruction]" for {xmldecl "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"}:Hpricot::XMLDecl
/Library/Ruby/Gems/1.8/gems/hpricot-0.6.161/lib/hpricot/elements.rb:304:in `find_all"
/Library/Ruby/Gems/1.8/gems/hpricot-0.6.161/lib/hpricot/elements.rb:304:in `filter"
lloyds-tsb-test.rb:62:in `test_should_include_the_ofx_processing_instruction" to /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `find_all"
/Library/Ruby/Gems/1.8/gems/hpricot-0.6.161/lib/hpricot/elements.rb:306:in `filter"
/Library/Ruby/Gems/1.8/gems/hpricot-0.6.161/lib/hpricot/traverse.rb:320:in `search"
/Library/Ruby/Gems/1.8/gems/hpricot-0.6.161/lib/hpricot/elements.rb:304:in `each"
/Library/Ruby/Gems/1.8/gems/hpricot-0.6.161/lib/hpricot/elements.rb:306:in `send"
#169 (Unable on use processing-instruction() xpath node test)
I wonder if this