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

2011-12-17 Thread mukulg
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);
 
   
   
-   How Xerces-J uses an XPath 2.0 engine for XML Schema 1.1 assertions 
and type alternatives?
+   How Xerces-J uses an XPath 2.0 engine for XML Schema 1.1 assertions 
and CTAs?

-  XML Schema 1.1 'assertions' and 'type alternatives' require an 
http://www.w3.org/TR/xpath20/";>XPath 2.0 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 
-  http://wiki.eclipse.org/PsychoPathXPathProcessor";>Eclipse/PsychoPath 
XPath 2.0 engine.
-  
-  
-  Xerces-J bundles a PsychoPath XPath 2.0 jar (which requires JDK 1.4 
or later).
+  XML Schema 1.1 assertions and CTAs require an XPath processor 
during evaluation. For XSD 1.1 assertions,
+  full http://www.w3.org/TR/xpath20/";>XPath 2.0 
support is required. For XSD 1.1 CTAs the XSD schema engines can
+  provide full XPath 2.0 support, or they can implement a http://www.w3.org/TR/xmlschema11-1/#coss-ta";>smaller XPath subset
+  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 
http://apache.org/xml/features/validation/cta-full-xpath-checking 
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 
http://wiki.eclipse.org/PsychoPathXPathProcessor";>Eclipse/PsychoPath 
XPath 2.0 engine.
+  Xerces-J does bundle along a PsychoPath XPath 2.0 jar (which 
requires JDK 1.4 or later).
   
   
-  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,  
-  http://www.eclipse.org/webtools/";>Eclipse Web Tools 
Platform (WTP) Project - 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, http://www.eclipse.org/webtools/";>Eclipse Web Tools Platform (WTP) 
Project - 
+  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.
   

   



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



svn commit: r1220333 - /xerces/java/branches/xml-schema-1.1-dev/docs/features.xml

2011-12-17 Thread mukulg
Author: mukulg
Date: Sun Dec 18 04:20:10 2011
New Revision: 1220333

URL: http://svn.apache.org/viewvc?rev=1220333&view=rev
Log:
committing a documentation update for the XSD 1.1 features that were recently 
implemented for Xerces code base. I've added a fictitious version tag of 2.12.0 
to these features, which may be modified as needed.

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

Modified: xerces/java/branches/xml-schema-1.1-dev/docs/features.xml
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/docs/features.xml?rev=1220333&r1=1220332&r2=1220333&view=diff
==
--- xerces/java/branches/xml-schema-1.1-dev/docs/features.xml (original)
+++ xerces/java/branches/xml-schema-1.1-dev/docs/features.xml Sun Dec 18 
04:20:10 2011
@@ -320,6 +320,26 @@ catch (SAXException e) {


   
+  
+   Enable XSD 1.1 CTA full XPath 2.0 checking.
+   Disable XSD 1.1 CTA full XPath 2.0 checking.
+   
+   
+   
+   
+   
+  
+  
+   Enable comment and PI checking during the XSD 1.1 assert 
evaluation.
+   Disable comment and PI checking during the XSD 1.1 assert 
evaluation.
+   
+   
+   
+   
+   
+  
   
Check that each value of type ENTITY matches the name of an unparsed 
entity declared in the DTD.



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