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/12/18 06:41:13 UTC

svn commit: r1220337 - /xerces/java/branches/xml-schema-1.1-dev/docs/faq-xs.xml

Author: mukulg
Date: Sun Dec 18 05:41:13 2011
New Revision: 1220337

URL: http://svn.apache.org/viewvc?rev=1220337&view=rev
Log:
doing few minor updates to schema 1.1 docs

Modified:
    xerces/java/branches/xml-schema-1.1-dev/docs/faq-xs.xml

Modified: xerces/java/branches/xml-schema-1.1-dev/docs/faq-xs.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/docs/faq-xs.xml?rev=1220337&r1=1220336&r2=1220337&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/docs/faq-xs.xml (original)
+++ xerces/java/branches/xml-schema-1.1-dev/docs/faq-xs.xml Sun Dec 18 05:41:13 2011
@@ -73,28 +73,24 @@ v.validate(instanceDocument);
     </a>
   </faq>
   <faq title="XPath 2.0 support for XML Schema 1.1 validation">
-  	<q>How Xerces-J uses an XPath 2.0 engine for XML Schema 1.1 assertions and type alternatives?</q>
+  	<q>How Xerces-J uses an XPath 2.0 engine for XML Schema 1.1 assertions and CTAs?</q>
   	<a>
-  	   <p>XML Schema 1.1 'assertions' and 'type alternatives' require an <jump href="http://www.w3.org/TR/xpath20/">XPath 2.0</jump> processor
-  	   for evaluation. For XSD 1.1 assertions, full XPath 2.0 support is required. For XSD 1.1 type alternatives, XML schema engines can
-  	   provide full XPath 2.0 support or they can implement a smaller XPath 2.0 subset, as defined by the XSD 1.1 language.
-  	   Within the type alternatives implementation, Xerces-J first attempts to compile the XPath expression with a native Xerces "XPath subset"
-  	   parser. If parsing with the native Xerces "XPath subset" parser fails, Xerces-J transparently switches over to another processor which 
-  	   supports all of XPath 2.0. The native processor in Xerces-J was written for efficiency, so you will likely get better performance if your
-  	   XPath expressions fall within the minimum subset defined by the XML Schema 1.1 specification. For full XPath 2.0 evaluation 
-  	   (for XSD 1.1 'assertions', and optionally for 'type alternatives'), Xerces-J uses the 
-  	   <jump href="http://wiki.eclipse.org/PsychoPathXPathProcessor">Eclipse/PsychoPath XPath 2.0 engine</jump>.
-  	   </p>
-  	   <p>
-  	   Xerces-J bundles a PsychoPath XPath 2.0 jar (which requires JDK 1.4 or later).
+  	   <p>XML Schema 1.1 assertions and CTAs require an XPath processor during evaluation. For XSD 1.1 assertions,
+  	   full <jump href="http://www.w3.org/TR/xpath20/">XPath 2.0</jump> support is required. For XSD 1.1 CTAs the XSD schema engines can
+  	   provide full XPath 2.0 support, or they can implement a <jump href="http://www.w3.org/TR/xmlschema11-1/#coss-ta">smaller XPath subset</jump>
+  	   as defined by the XSD 1.1 language. For CTAs Xerces uses the XSD 1.1 CTA XPath subset language by default, but can be made to use the full XPath 2.0 support by
+  	   setting the value of Xerces feature <code>http://apache.org/xml/features/validation/cta-full-xpath-checking</code> to 'true'.
+  	   The native CTA XPath processor in Xerces-J was written for efficiency, so you will likely get better performance if your
+  	   XPath expressions fall within the minimum subset defined by the XML Schema 1.1 specification. For full XPath 2.0 evaluation
+  	   (for XSD 1.1 assertions, and optionally for CTAs), Xerces-J uses the <jump href="http://wiki.eclipse.org/PsychoPathXPathProcessor">Eclipse/PsychoPath XPath 2.0 engine</jump>.
+  	   Xerces-J does bundle along a PsychoPath XPath 2.0 jar (which requires JDK 1.4 or later).
   	   </p>
   	   <note>
-  	   Users should be aware that more recent releases of the PsychoPath
+  	   Users should be aware that more recent releases of the Eclipse PsychoPath
   	   XPath engine may have better conformance to the W3C XPath 2.0 language than the PsychoPath XPath 2.0 jar that's bundled with Apache Xerces-J.
-  	   Builds of the PsychoPath XPath 2.0 jar are available for download from following location,  	   
-  	   <jump href="http://www.eclipse.org/webtools/">Eclipse Web Tools Platform (WTP) Project</jump> - The latest 'Released' or a 'Stable milestone' 
-  	   WTP version can be downloaded from here (from which the PsychoPath XPath 2.0 jar can be extracted). The latest PsychoPath XPath 2.0 engine
-  	   builds at Eclipse require a minimum JDK level of 1.5.
+  	   Official builds of the PsychoPath XPath 2.0 jar are available for download from the location, <jump href="http://www.eclipse.org/webtools/">Eclipse Web Tools Platform (WTP) Project</jump> - 
+  	   The latest 'Released' or a 'Stable milestone' WTP version can be downloaded from here (from which the PsychoPath XPath 2.0 jar can be extracted).
+  	   The latest PsychoPath XPath 2.0 engine builds at Eclipse require a minimum JDK level of 1.5.
   	   </note>
   	</a>
   </faq>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org