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 5403 - Remove "user-defined" from "user-defined constraints"
Summary: Remove "user-defined" from "user-defined constraints"
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: Virginia Smith
QA Contact: SML Working Group discussion list
URL:
Whiteboard:
Keywords: resolved
Depends on:
Blocks:
 
Reported: 2008-01-22 22:40 UTC by Virginia Smith
Modified: 2008-02-14 00:25 UTC (History)
0 users

See Also:


Attachments

Description Virginia Smith 2008-01-22 22:40:39 UTC
SML does not define "user-defined constraints". 

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
Comment 1 Kumar Pandit 2008-02-07 01:56:17 UTC
+1 for the proposal.
Comment 2 Virginia Smith 2008-02-07 19:37:10 UTC
Fix as per proposal.
Comment 3 Virginia Smith 2008-02-07 22:01:50 UTC
Fixed per proposal.
Comment 4 John Arwe 2008-02-14 00:25:58 UTC
+1