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 5924 - Are violations of "Schema Component Rules" conformance or validity issues?
Summary: Are violations of "Schema Component Rules" conformance or validity issues?
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: Kumar Pandit
QA Contact: SML Working Group discussion list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-31 20:35 UTC by Sandy Gao
Modified: 2008-12-09 18:05 UTC (History)
3 users (show)

See Also:


Attachments

Description Sandy Gao 2008-07-31 20:35:20 UTC
For example, section 5.2.1.1 forbids

  <sml:key ref="name1" name="name2"/>

("ref" and "name" can't both be present.)

Should this make the containing SML model nonconformant or invalid?

Given that "bad" schema documents makes the model nonconformant, the same should be true for SML constraints, but the conformance rules in section 8 doesn't seem to cover this case. The closest is in the "validity" list:

"3. Each document in the model MUST satisfy all normative statements in this specification that pertain to model documents."

We need to add part of this to the conformance requirement list.
Comment 1 Pratul Dublish 2008-08-07 19:56:03 UTC
Resolution in 8/7 call

Add a statement in the conformance section that a model should be declared as NON CONFORMANT if it violates the rules in  sections labeled "schema component rules" and possibly "schema constraint construction".  
Comment 2 Kumar Pandit 2008-08-13 19:45:18 UTC
Added the following item in the list of model conformance rules in section 8. Conformance Criteria.

4. All schemas assembled from the XML Schema documents in the model's definition documents MUST satisfy the conditions expressed in sections 5.1.1.1 SML Constraint Contruction, 5.1.1.2 Schema Component Rules, 5.1.2.1 SML Constraint Contruction, 5.1.2.2 Schema Component Rules, 5.2.1.1 SML Constraint Contruction, 5.2.1.2 Schema Component Rules, 6.3.1 SML Rule Contruction and 6.3.2 Schema Component Rules. 
Comment 3 David Whiteman 2008-08-13 20:38:13 UTC
Kumar, you might want to make sure "Construction" is spelled correctly in each instance of that wording change. :-)
Comment 4 Kumar Pandit 2008-08-14 04:29:16 UTC
Good catch! fixed.
Comment 5 Kumar Pandit 2008-08-14 18:44:43 UTC
resolution on 8/14: fix accepted.