This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 5409 - Clarify use of term 'rule' in SML specification
Summary: Clarify use of term 'rule' in SML specification
Status: RESOLVED FIXED
Alias: None
Product: SML
Classification: Unclassified
Component: Core (show other bugs)
Version: FPWD
Hardware: PC MacOS X
: P2 normal
Target Milestone: LC
Assignee: Kumar Pandit
QA Contact: SML Working Group discussion list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-22 23:37 UTC by Virginia Smith
Modified: 2008-02-13 07:00 UTC (History)
0 users

See Also:


Attachments

Description Virginia Smith 2008-01-22 23:37:17 UTC
The "sch:rule" element is part of Schematron patterns. The SML spec uses the term "rule" to indicate a set of Schematron constraints.  In other words, SML 'rules' are defined by using Schematron rules. In addition, the spec specifies 'rules' for determining validity. We should clarify the use of 'rules' in the SML spec, particularly in section 5.
Comment 1 Valentina Popescu 2008-01-31 20:18:26 UTC
marked editorial as per 01/31 meeting

no need for needsReview after completion

Comment 2 Kumar Pandit 2008-02-13 07:00:14 UTC
made the following changes:

from:
A pattern element contains one or more rules             and a rule            element contains one or more assert and/or report elements. 

to:
A pattern element contains one or more sch:rule elements and a single sch:rule element contains one or more assert and/or report elements.


from:
Each rule specifies its context using the context attribute.

to:
Each sch:rule element specifies its context using the context attribute.


from:
...expressions defined in the rule are evaluated. 

to:
...expressions contained in the sch:rule element are evaluated. 


from:
The rules defined               in StudentPattern are applicable to ...

to:
The sch:rule elements contained in StudentPattern are applicable to ...


deleted redundant sentence:
The context expression for the rule returns a node set consisting of all Student elements referenced by an instance of StrictUniversity, and the test expressions for the two asserts are evaluated for each element node in this node set.