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

------------------------------------------------------------------------------
  
  '''Design approach'''
  
+ The Complex Type traverser of Xerces is modified to handle assertions. 
XSModel is also modified to handle assertions.
+ 
+ For assertions support, the following Xerces files are created / modified:
+ 
+ 1. XSAssert.java (new file)
+ 2. SchemaGrammar.java
+ 3. SchemaSymbols.java
+ 4. XSComplexTypeDecl.java
+ 5. XSDComplexTypeTraverser.java
+ 6. XSAttributeChecker.java
+ 7. XSAssertImpl.java (new file)
+ 8. Test.java (new file)
+ 
  '''Open issues'''
  
- 1. Assertion support on Simple Types is still not clear, and is not 
implemented. Regarding this, the spec mentions, Assertions are currently only 
allowed to be specified in complex types. It may be deemed useful also to 
include assertions in named model group definitions and/or attribute groups, or 
even simple types. The XML Schema Working Group solicits input from 
implementors and users of this specification on this question.
+ 1. Assertion support on Simple Types is not clear, and is not implemented. 
Regarding this, the spec mentions, Assertions are currently only allowed to be 
specified in complex types. It may be deemed useful also to include assertions 
in named model group definitions and/or attribute groups, or even simple types. 
The XML Schema Working Group solicits input from implementors and users of this 
specification on this question.
  
  2. XPath 2.0 processing for ''test'' attributes of xs:assert elements is not 
yet written. The current implementation of xs:assert elements would return true 
for any value of ''test'' attribute.
  

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

Reply via email to