[Bug 4644] Allow assertions on local elements and types


kumarp@microsoft.com changed:

           What    |Removed                     |Added
           Keywords|editorial                   |needsReview

------- Comment #8 from kumarp@microsoft.com  2008-01-18 08:41 -------
FIxed as suggested in comment# 6.

Removed bullet #2.

changed the following:

If an assert or report is violated, then the violation MUST be reported during
model validation together with the specified message. The model MUST be
declared invalid when this happens.

All of the assertion tests in fired rules MUST succeed. 

The wording is based on the following terms defined in the schematron spec:

3.6 assertion test
assertion modelled or implemented by a Boolean query; an assertion test
"succeeds" or "fails"

3.23 valid with respect to a schema
member of the set of XML documents described by the schema: an instance
document is valid if no assertion tests
in fired rules of active patterns fail

Received on Friday, 18 January 2008 08:41:40 UTC