You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mu...@apache.org on 2011/11/12 17:03:08 UTC
svn commit: r1201280 -
/xerces/java/branches/xml-schema-1.1-dev/tools/org.eclipse.wst.xml.xpath2.processor_1.2.0.jar
Author: mukulg
Date: Sat Nov 12 16:03:07 2011
New Revision: 1201280
URL: http://svn.apache.org/viewvc?rev=1201280&view=rev
Log:
schema 1.1 commit:
improving implementation of XPath 2.0 fn:index-of function. this now supports QName values as the second argument (this wasn't supported earlier).
This enhancement now passes uses cases like following,
XML document:
<X>
<a>2</a>
<b>4</b>
<c>6</c>
</X>
All of the below function calls (using the XML document above) now correctly return the sequence {2},
index-of(for $e in X/* return node-name($e), node-name(X/b))
index-of(for $e in X/* return node-name($e), xs:QName('b'))
index-of(for $e in X/* return node-name($e), fn:QName('', 'b'))
committing a new PsychoPath XPath jar with these improvements. The corresponding code base at Eclipse CVS is also updated with these changes. I thank Ćukasz Wycisk, who pointed out this problem on the wtp-wst-dev@eclipse.org list and suggested 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=1201280&r1=1201279&r2=1201280&view=diff
==============================================================================
Binary files - no diff available.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org