Community
Participate
Working Groups
Build ID: I20090313-0100 Steps To Reproduce: The current Psychopath implementation doesn't implement equality for xs:anyURI values. Though, equality of values like xs:string are implemented. As a consequence of this limitation, XPath 2.0 equality expressions like: xs:anyURI('abc') = xs:anyURI('abc') or xs:anyURI('abc') eq xs:anyURI('abc') would fail, with dynamic type exception. This patch provides this support (i.e., users will now be able to compare xs:anyURI values). I found this defect important to solve, when trying to do something like: base-uri(x) eq xs:anyURI('...') I would be attaching a patch and test case shortly, for this defect. PS: Psychopath base-uri() function implementation also has a bug, for which I expect to provide a patch shortly after this patch. More information:
Created attachment 134146 [details] patch file for this bug
Created attachment 134147 [details] test case patch file adding support for this bug
This patch has been applied and is now in head. Slight cleanup to the test case patch, but otherwise unchanged.