xerces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Xerces Wiki] Update of "XML Schema 1.1 Assertions" by assertions
Date Mon, 15 Sep 2008 06:07:49 GMT
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 for Complex Type definitions
is complete (without XPath processing, presently), and the review is pending from the Xerces
team.
+ '''Status of assertions development:''' Assertions support for Simple 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/).
Assertions support for Complex Type definitions is also complete, and the review is pending
from the Xerces team. A change will be likely in the Complex Type assertions support, due
to a pending grammar issue with the XML Schema WG.
  
  '''Assertions usage in Complex Types (as defined in the XML Schema 1.1 spec)'''
  
@@ -68, +68 @@

     Content: (annotation?, openContent?, ((group | all | choice | sequence)?, ((attribute
|  attributeGroup)*, anyAttribute?), '''assert'''*))
   </extension>
  
+ '''Assertions usage in Simple Types (as defined in the XML Schema 1.1 spec)'''
+ 
+ <simpleType
+   final = (#all | List of (list | union | restriction | extension)) 
+   id = ID
+   name = NCName
+   {any attributes with non-schema namespace . . .}>
+   Content: (annotation?, (restriction | list | union))
+ </simpleType>
+ 
+ <restriction
+   base = QName
+   id = ID
+   {any attributes with non-schema namespace . . .}>
+   Content: (annotation?, (simpleType?, (minExclusive | minInclusive | maxExclusive | maxInclusive
| totalDigits | fractionDigits | maxScale | minScale | length | minLength | maxLength | enumeration
| whiteSpace | pattern | '''assert''' | {any with namespace: ##other})*))
+ </restriction>
+ 
  '''Design approach'''
  
  The Complex Type traverser of Xerces is modified to handle assertions. XSModel is also modified
as well, to handle assertions.

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


Mime
View raw message