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 5923 - Requirements on schema documents
Summary: Requirements on schema documents
Status: RESOLVED FIXED
Alias: None
Product: SML
Classification: Unclassified
Component: Core (show other bugs)
Version: LC
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Virginia Smith
QA Contact: SML Working Group discussion list
URL:
Whiteboard:
Keywords: resolved
Depends on:
Blocks:
 
Reported: 2008-07-31 20:25 UTC by Sandy Gao
Modified: 2008-08-14 22:13 UTC (History)
3 users (show)

See Also:


Attachments

Description Sandy Gao 2008-07-31 20:25:28 UTC
In the conformance section 8,

"2 Each XML Schema document in the model's definition documents MUST satisfy the conditions expressed in Errors in Schema Construction and Structure (§5.1). [XML Schema Structures]"

Section 5.1 in schema structures is about errors when schemas are constructed, but  there may be schema documents in an SML model that do not participate in schema construction. For example, what if a schema document is only transmitted in the IF and is meant to be merged with other docs to assemble a schema?

When a schema document is used to construct a schema, then the result schema must satisfy all rules in the schema spec; if a schema document is not used to construct any schema, then it still needs to be a good schema document. We need to distinguish these 2 cases in the conformance rules. For example:

"2a For each XML Schema document in the model's definition documents, the [validity] property of the root element MUST be "valid" when schema validity is assessed with respect to a schema constructed from the "schema for schemas" and the "normative SML schema" schema documents.

2b All schemas assembled from the XML Schema documents in the model's definition documents MUST satisfy the conditions expressed in Errors in Schema Construction and Structure (§5.1). [XML Schema Structures]

Note: This specification does not define how many schemas are assembled and which schema documents contribute to assembling the schemas."
Comment 1 Pratul Dublish 2008-08-07 19:41:20 UTC
Resolution in 8/7 call - fix as per Sandy's proposal in Comment #1 - 2a and 2b
Comment 3 Sandy Gao 2008-08-13 20:25:26 UTC
> a schema constructed from the "schema for schemas" and
> the "normative SML schema" schema documents.

The above can benefit from links to http://www.w3.org/2001/XMLSchema.xsd and appendix A. "http://www.w3.org/2001/XMLSchema.xsd" may warrant a new entry in section 10.1 Normative References.
Comment 4 Kumar Pandit 2008-08-14 04:24:49 UTC
+1.
Also agree with Sandy's suggestion in comment# 3.
Comment 5 Kumar Pandit 2008-08-14 18:42:01 UTC
resolution on 8/14:
Add the references suggested in comment# 3. Does not need review after changes are made.
Comment 6 Virginia Smith 2008-08-14 22:13:14 UTC
Bullet 2 in section 8 changed to the following (text enclosed in '*' are links to a normative reference or a section in the spec.

---------
For each XML Schema document in the model's definition documents, the [validity] property of the root element MUST be "valid" when schema validity is assessed with respect to a schema constructed from the *XML Schema for Schemas* and *A. Normative SML Schema* schema documents.
--------

New normative reference:
-------
[XML Schema for Schemas]
    XML Schema for XML Schemas. World Wide Web Consortium, 2 May 2001, revised 28 October 2004. 
-------