Hi,
AbstractXPathTemplateTestCase. testEvaluateAsBooleanNamespaces() from SWS-1.0.3 evaluates the following expression against the xml in namespaces.xml and asserts the result is true:
This testcase does not fail if I replace the 1 with a 0, or any other non-empty string. Is this the expected behaviour?Code:/prefix1:root/prefix2:child/prefix2:boolean <root xmlns="namespace1"> <prefix:child xmlns:prefix="namespace2"> <prefix:text>text</prefix:text> <prefix:number>42.0</prefix:number> <prefix:boolean>1</prefix:boolean> </prefix:child> </root>
Cheers,
-Ralph.


Reply With Quote
. From the XPath spec: 