XMLers:
Try this failing test:
assert_xml '<html>
<form class=\'for_"sa le"\' />
</html>'
assert_tag_id :form, :class ='for_"sale"'
assert_tag_id builds the XPath needed to find that for_"sale" sign. Here's
what it builds for libxml:
descendant-or-self::form[ @class = "for_"sale "" ]
Yet that doesn't hit the sample XML. No error message, but no hit either.
(I'm going thru libxml-ruby, BTW, and Ruby's native REXML has similar
problems...)
--
Phlip
"Test Driven Ajax (on Rails)"
assert_xpath, assert_javascri pt, & assert_ajax
Try this failing test:
assert_xml '<html>
<form class=\'for_"sa le"\' />
</html>'
assert_tag_id :form, :class ='for_"sale"'
assert_tag_id builds the XPath needed to find that for_"sale" sign. Here's
what it builds for libxml:
descendant-or-self::form[ @class = "for_"sale "" ]
Yet that doesn't hit the sample XML. No error message, but no hit either.
(I'm going thru libxml-ruby, BTW, and Ruby's native REXML has similar
problems...)
--
Phlip
"Test Driven Ajax (on Rails)"
assert_xpath, assert_javascri pt, & assert_ajax
Comment