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/10/25 19:31:32 UTC

svn commit: r1188817 - /xerces/java/branches/xml-schema-1.1-dev/tools/org.eclipse.wst.xml.xpath2.processor_1.2.0.jar

Author: mukulg
Date: Tue Oct 25 17:31:31 2011
New Revision: 1188817

URL: http://svn.apache.org/viewvc?rev=1188817&view=rev
Log:
committing a fix into PsychoPath XPath engine. this has some further improvements for function fn:namespace-uri-from-QName(..). Here's an XSD 1.1 use case which now works with this fix,

XML document:
<X xmlns="http://x.y">
  <Y/>
</X>

Schema 1.1 document:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://x.y" elementFormDefault="qualified">
  
  <xs:element name="X">
    <xs:complexType>
	   <xs:sequence>
	      <xs:element name="Y"/>
	   </xs:sequence>
	   <xs:assert test="namespace-uri-from-QName(node-name(ns0:Y)) = 'http://x.y'" xmlns:ns0="http://x.y"/>
	</xs:complexType>
  </xs:element>

</xs:schema>

fn:namespace-uri-from-QName(..) taking result of fn:node-name as argument wasn't previously working.

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=1188817&r1=1188816&r2=1188817&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