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/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), and the review is pending 
from the Xerces team.
+ 
+ '''Assertions usage in Complex Types (as defined in the spec)'''
+ 
+  1. Complex Type Definition Schema Components
+ 
+  <complexType
+   abstract = boolean : false
+   block = (#all | List of (extension | restriction)) 
+   final = (#all | List of (extension | restriction)) 
+   id = ID
+   mixed = boolean
+   name = NCName
+   defaultAttributesApply = boolean : true
+   {any attributes with non-schema namespace . . .}>
+   Content: (annotation?, (simpleContent | complexContent | (openContent?, 
(group | all | choice | sequence)?, ((attribute | attributeGroup)*, 
anyAttribute?), assert*)))
+ </complexType>
+ 
+  1. Complex Types with Simple Content
+ 
+  <simpleContent
+    id = ID
+    {any attributes with non-schema namespace . . .}>
+    Content: (annotation?, (restriction | extension))
+  </simpleContent>
+ 
+  <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})*)?, ((attribute | attributeGroup)*, 
anyAttribute?), assert*)
+  </restriction>
+ 
+  <extension
+    base = QName
+    id = ID
+    {any attributes with non-schema namespace . . .}>
+    Content: (annotation?, ((attribute | attributeGroup)*, anyAttribute?), 
assert*)
+  </extension>
+ 
+  1. Complex Types with Complex Content
+ 
+  <complexContent
+    id = ID
+    mixed = boolean
+    {any attributes with non-schema namespace . . .}>
+    Content: (annotation?, (restriction | extension))
+  </complexContent>
+ 
+  <restriction
+    base = QName
+    id = ID
+    {any attributes with non-schema namespace . . .}>
+    Content: (annotation?, openContent?, (group | all | choice | sequence)?, 
((attribute |  attributeGroup)*, anyAttribute?), assert*)
+  </restriction>
+ 
+  <extension
+    base = QName
+    id = ID
+    {any attributes with non-schema namespace . . .}>
+    Content: (annotation?, openContent?, ((group | all | choice | sequence)?, 
((attribute |  attributeGroup)*, anyAttribute?), assert*))
+  </extension>
  
  '''Design approach'''
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to