What steps will reproduce the problem?
The current hmac and digest tests (7.8.3.a, 7.8.3.b, 7.8.3.f, 7.8.4.a,
7.8.4.b & 7.8.4.f) are needlessly complex, and at the time of this writing
fail due to this complexity. The tests function by hiding a different
group of elements based on the results of digest/hmac. This is
accomplished by using a ref xpath that evaluates to an empty nodeset.
While this should hide the offending element, as this feature is
malfunctioning both the pass and fail result is currently visible. In
order to rectify this, and greatly simplify these tests, they have been
revised to use choose() to determine the content of an output element.
This issue cannot be resolved until after XForms 1.1 advances as currently
the test suite does not provide coverage for this feature. It is
recommended that tests be added to chapter 8.1.1 inorder to address hiding
elements with empty nodeset references.
What is the expected output? What do you see instead?
Elements with a reference, or with parents with a reference to an empty
nodeset should be hidden; they are displayed normally.
Please use labels to indicate the version, operating system and browser
that you are using. Also, add some text below to provide additional
information.
The following snippet should cause the label to be hidden:
<xforms:group ref="self::node()[false()]">
<xforms:label>Test</xforms:label>
</xforms:group>
Original issue reported on code.google.com by fil...@gmail.com on 27 May 2009 at 5:13
Original issue reported on code.google.com by
fil...@gmail.com
on 27 May 2009 at 5:13