Traceable Constraints

Roger Costello

Click arrow key () to navigate to next page

Traceable Constraints are Important

Business Analyst vs Programmer

Example

  1. <?xml version="1.0"?>
  2. <Document classification="secret">
  3. <Para classification="unclassified">
  4. One if by land, two if by sea;
  5. </Para>
  6. </Document>

Example (cont.)

Schematron "see" attribute

  1. <sch:pattern name="Classifications">
  2. <sch:assert test="@classification='top-secret' or
  3. @classification='secret' or
  4. @classification='confidential' or
  5. @classification='unclassified'"
  6. see="http://www.example.com/military/security.html#A.1.2.3.4.5">
  7. The value of a classification must be one of top-secret,
  8. secret, confidential, or unclassified, because of MILSPEC
  9. XXXX (1999) section A.1.2.3.4.5
  10. </sch:assert>
  11. </sch:rule>
  12. </sch:pattern>

Homepage