You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by Apache Wiki <wi...@apache.org> on 2009/04/01 20:11:21 UTC

[Xerces Wiki] Update of "XML Schema 1.1 Assertions" by assertions

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

------------------------------------------------------------------------------
  
  This page describes implementation details of XML Schema 1.1 assertions feature, in [http://xerces.apache.org/xerces2-j/ Xerces-J] XML parser.
  
- '''Status of assertions development:''' Assertions support both for Simple and Complex type definitions is complete, and Xerces team has checked in the code for this, at the SVN repository (https://svn.apache.org/repos/asf/xerces/java/branches/xml-schema-1.1-dev/).
+ '''Status of assertions development:''' The assertions traverser support both for Simple and Complex type definitions is complete, and Xerces team has checked in the code for this, at the SVN repository (https://svn.apache.org/repos/asf/xerces/java/branches/xml-schema-1.1-dev/).
- The XPath 2.0 processing for assertions is yet to be written.
+ The development of XPath 2.0 processing for assertions is underway.
  
  '''Assertions usage in Complex Types (as defined in the XML Schema 1.1 spec)'''
  
@@ -88, +88 @@

  
  '''Design approach'''
  
- XSModel is modified to handle the new 'assert' feature, for the XML Schema 1.1 Simple and Complex types.
+ The Xerces XSModel is modified to handle assertions, for the XML Schema 1.1 Simple and Complex types.
  
- Since 'assertion' now is a new Facet, to implement asserts for Simple Types, the current Facets data structures, and the Facet traverser are enhanced to support XML Schema 1.1 assertions.
+ Since 'assertion' is now an additional Facet; to implement asserts for Simple Types, the current Facets data structures, and the Facet traverser are enhanced to support XML Schema 1.1 assertions.
  
  To implement asserts for Complex Types, the Complex Type traverser of Xerces is modified.
  
- '''Open issues'''
+ '''Assertions XPath 2.0 processing implementation'''
  
-  1. The XPath 2.0 processing for ''test'' attributes of assert elements is not yet written. The current implementation of assert elements would return true for any value of ''test'' attribute. There might be possibility to reuse some of the XPath 2.0 processing code, from XML Schema 1.1 Type alternative component; which would be explored.
+ We are exploring to integrate the open source XPath 2.0 processor, [http://psychopath.sourceforge.net/ PsychoPath] into Xerces XML Schema 1.1 engine. The PsychoPath processor is also part of Eclipse, [http://www.eclipse.org/webtools/ Web Tools Platform Project]. We would design the XPath 2.0 support in Xerces assertions component in such a way, that it must be possible to plug in any standard compliant XPath 2.0 engine.
  
  
  ----

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