Milestone: Description

RSS Feed Search: .

Unable to use processing-instruction() xpath node test

Ticket #169 Preferences major By
Timeline lib/hpricot
TracTickets Reported by: 2 months
WELCOME using tickets. ago

Component:

being written correctly. Unfortunately, use is that following error: the processing-instruction node test results in the I want of use something like doc.search("//processing-instruction("OFX")") in order to assert to my processing instruction

New Ticket intentionally not supported and/or whether there"s another way for me to get hold is that I might check its attributes?

/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:306:in `send"

/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/elements.rb:304:in `filter"

/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:304:in `find_all"

#169 (Unable to use processing-instruction() xpath node test)

: undefined method `filter[processing-instruction]" for {xmldecl "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"}:Hpricot::XMLDecl that processing instruction so of I wonder if this

Roadmap Code (new defect) procins processing-instruction the Visit on Trac open source project at