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-...@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-unsubscr...@xerces.apache.org
For additional commands, e-mail: commits-h...@xerces.apache.org

Reply via email to