Author: mukulg Date: Sat Nov 12 13:33:05 2011 New Revision: 1201259 URL: http://svn.apache.org/viewvc?rev=1201259&view=rev Log: schema 1.1 commit: committing an improved PsychoPath XPath jar. This has improvement for the XPath 2.0 fn:abs function implementation. fn:abs implementation wasn't earlier atomizing the operand, and as a consequence the following use case wasn't working as expected (this was incorrectly raising a type error earlier),
XML document: <X> <a>-5</a> </X> Schema fragment: <xs:element name="X"> <xs:complexType> <xs:sequence> <xs:element name="a" type="xs:integer"/> </xs:sequence> <xs:assert test="abs(a) = 5"/> </xs:complexType> </xs:element> This commit solves this problem. The corresponding code base was also updated at Eclipse CVS site. I thank Ćukasz Wycisk, who pointed out this problem on wtp-wst-...@eclipse.org list and proposed a solution. Modified: xerces/java/branches/xml-schema-1.1-dev/tools/org.eclipse.wst.xml.xpath2.processor_1.2.0.jar Modified: xerces/java/branches/xml-schema-1.1-dev/tools/org.eclipse.wst.xml.xpath2.processor_1.2.0.jar URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/tools/org.eclipse.wst.xml.xpath2.processor_1.2.0.jar?rev=1201259&r1=1201258&r2=1201259&view=diff ============================================================================== Binary files - no diff available. --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@xerces.apache.org For additional commands, e-mail: commits-h...@xerces.apache.org