<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>5403</bug_id>
          
          <creation_ts>2008-01-22 22:40:39 +0000</creation_ts>
          <short_desc>Remove &quot;user-defined&quot; from &quot;user-defined constraints&quot;</short_desc>
          <delta_ts>2008-02-14 00:25:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>SML</product>
          <component>Core</component>
          <version>FPWD</version>
          <rep_platform>PC</rep_platform>
          <op_sys>MacOS X</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>resolved</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>LC</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Virginia Smith">virginia.smith</reporter>
          <assigned_to name="Virginia Smith">virginia.smith</assigned_to>
          
          
          <qa_contact name="SML Working Group discussion list">public-sml</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>18469</commentid>
    <comment_count>0</comment_count>
    <who name="Virginia Smith">virginia.smith</who>
    <bug_when>2008-01-22 22:40:39 +0000</bug_when>
    <thetext>SML does not define &quot;user-defined constraints&quot;. 

Proposal:

1. Change section 5.0 from:

XML Schema supports a number of built-in grammar-based constraints but it does not support a language for defining arbitrary rules for constraining the structure and content of documents. Schematron [ISO/IEC 19757-3] is an ISO/IEC standard for defining assertions concerning a set of XML documents. SML uses a profile of the Schematron schema to add support for user-defined constraints. SML uses XPath, augmented with the smlfn:deref()  extension function, as its constraint language.

to:

XML Schema supports a number of built-in grammar-based constraints but it does not support a language for defining arbitrary rules for constraining the structure and content of documents. Schematron [ISO/IEC 19757-3] is an ISO/IEC standard for defining assertions concerning a set of XML documents. SML uses Schematron to add support for additional model constraints not supported in XML Schema. 

2. Section 5.1, 2nd paragraph, change:
User-defined constraints can be specified using...

to:
Constraints can be specified using...

3. Appendix B, bullet point 3, change:
This model definition document sample illustrates the use of the following SML extensions:

   1. SML references
   2. key and keyref constraints
   3. User-defined constraints

to:
This model definition document sample illustrates the use of the following SML extensions:

   1. SML references
   2. key and keyref constraints
   3. Schematron constraints</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18804</commentid>
    <comment_count>1</comment_count>
    <who name="Kumar Pandit">kumarp</who>
    <bug_when>2008-02-07 01:56:17 +0000</bug_when>
    <thetext>+1 for the proposal.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18830</commentid>
    <comment_count>2</comment_count>
    <who name="Virginia Smith">virginia.smith</who>
    <bug_when>2008-02-07 19:37:10 +0000</bug_when>
    <thetext>Fix as per proposal.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18845</commentid>
    <comment_count>3</comment_count>
    <who name="Virginia Smith">virginia.smith</who>
    <bug_when>2008-02-07 22:01:50 +0000</bug_when>
    <thetext>Fixed per proposal.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19018</commentid>
    <comment_count>4</comment_count>
    <who name="John Arwe">johnarwe</who>
    <bug_when>2008-02-14 00:25:58 +0000</bug_when>
    <thetext>+1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>