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 5606 - Update spec to clarify SML reference resolution
Summary: Update spec to clarify SML reference resolution
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-04-01 21:48 UTC by Virginia Smith
Modified: 2008-12-09 17:57 UTC (History)
0 users

See Also:


Attachments

Description Virginia Smith 2008-04-01 21:48:41 UTC
Proposal in 4/1/08 f2f:

1- update definition of SML reference in 2.2 Terminology to make it clearer that not all SML references resolve
2- change description of unresolved SML references in 4.1.3 to make it clearer that references must resolve to elements in the same model.
3- make clear that the method of determining what documents are in the model is implementation-defined (or implementation-dependent): you can have an a priori list, you can take the transitive closure of documents referred to by SML references starting from documents known to be in the model, or you can do anything in between.

Editors to make this needsReview when completed.
Comment 2 Virginia Smith 2008-04-17 20:23:33 UTC
Proposal to change definition of SML Reference as discussed in 4/17 meeting:

SML Reference
An SML Reference is an element with sml:ref="true".

Note: Conceptually, SML references are used to signal a link from
one element in an SML model to another element in the same model.
=============


Also, edited section 4.1.4 to change 'must' to 'MUST' and move the statement about determining the documents in the model out of the note. It now reads:

4.1.4 SML Reference Target

The node set that a non-null SML reference resolves to is its target. The target of an SML reference MUST be part of the same SML model as the SML reference. Null SML references have no target.

The method of determining which documents are part of an SML model is implementation-defined.

Note:

For example, an SML model may consist of documents listed in a configuration file or an SML model could be construed as the transitive closure of documents referred to by any SML references starting from a set of documents known to be in the model. 


Comment 3 Kumar Pandit 2008-05-08 01:12:08 UTC
+1 for the proposal in comment# 2 and for the change diff in comment# 1 (except the def. of a reference).
Comment 4 John Arwe 2008-05-08 13:27:07 UTC
I'm unsure what "(except the def. of a reference)." means in comment #3.  Are you saying further changes are needed, or something else?
Comment 5 Kumar Pandit 2008-05-20 07:29:24 UTC
Explanation about my comment in comment# 3:

The diff in comment# 1 shows the definition of a reference to be:

An SML Reference is a link from one element in an SML model to another element in the same model. If the target of the reference cannot be located in the model, the SML reference is considered to be unresolved.

This definition does not match the proposed definition in comment# 2. However, the rest of the changes in the diff look good.
Comment 6 Pratul Dublish 2008-05-22 18:53:47 UTC
Resolution on 5/22 call - fix as per Comment #2
Comment 7 Virginia Smith 2008-05-22 20:29:01 UTC
Fixed per comment #2 but with very small editorial changes:

New definition of SML Reference:

SML Reference

    An SML Reference is an element with an sml:ref attribute whose value is "true".

    Note:
    Conceptually, an SML reference is used to signal a link from one element in an SML model to another element in the same model.