Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Xerces Wiki" for change 
notification.

The following page has been changed by assertions:
http://wiki.apache.org/xerces/XML_Schema_1%2e1_Assertions

------------------------------------------------------------------------------
  ## page was renamed from assertions
- ''Assertions'' is a new facility in XML Schema 1.1 language. It's officially 
described here, in the W3C spec, 
http://www.w3.org/TR/xmlschema11-1/#cAssertions.
+ ''Assertions'' is a new facility in XML Schema 1.1 language. It's officially 
described here, in the W3C spec, 
http://www.w3.org/TR/xmlschema11-1/#cAssertions. For an explanation of 
assertions feature and to know number of practical examples, please read the 
article [2] in "References" section below.
  
  This page describes implementation details of XML Schema 1.1 assertions 
feature, in [http://xerces.apache.org/xerces2-j/ Xerces-J] XML Schema processor.
  
@@ -116, +116 @@

  
  '''Run-time notes'''
  
-  1. By default, the Xerces-J Schema processor would select the PsychoPath 
engine for XPath 2.0 processing. Xerces-J has a provision for the user, to 
select between different XPath 2.0 engines for evaluating assertions. This can 
be done by setting the Java system property, 
'''org.apache.xerces.assertProcessor'''. Xerces-J has an out of the box support 
for PsychoPath and Saxon-b engines. If the user doesn't set this property, or 
set it's value to, '''org.apache.xerces.impl.xs.XMLAssertPsychopathImpl''', the 
PsychoPath processor would be selected for XPath 2.0 processing. For selecting 
Saxon-b as the XPath 2.0 engine, the user needs to set the value of this 
property to, '''org.apache.xerces.impl.xs.XMLAssertSaxonImpl'''.
+  1. By default, the Xerces-J Schema processor would select the PsychoPath 
engine for XPath 2.0 processing. Xerces-J has a provision for the user, to 
select between different XPath 2.0 engines for evaluating assertions. This can 
be done by setting the Java system property, 
'''org.apache.xerces.assertProcessor'''. Xerces-J has an out of the box support 
for PsychoPath and Saxon-b XPath 2.0 engines. If the user doesn't set this 
property, or set it's value to, 
'''org.apache.xerces.impl.xs.XMLAssertPsychopathImpl''', the PsychoPath 
processor would be selected for XPath 2.0 processing. For selecting Saxon-b as 
the XPath 2.0 engine, the user needs to set the value of this property to, 
'''org.apache.xerces.impl.xs.XMLAssertSaxonImpl'''.
  
   1. If user's wish to use an XPath 2.0 engine other than PsychoPath or Saxon, 
for working with Xerces-J assertions, they need to write a custom Java layer 
similar to org.apache.xerces.impl.xs.XMLAssertPsychopathImpl or 
org.apache.xerces.impl.xs.XMLAssertSaxonImpl. Xerces-J would publish an API, to 
integrate to any available standard compliant XPath 2.0 engines.
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to