[Bug 5181] xml:base intended to replace smlif:baseURI only

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5181





------- Comment #14 from popescu@ca.ibm.com  2008-02-13 16:40 -------
re comment #13

Section 5.3.2, the paragraphs describing the two base URI levels is meant to be
informative ( non normative ). The intention for this sub-section was to
suggest to an SML-IF producer scenarios for using the model/identity/baseURI,
the document/aliases/primaryAlias, or both, when defining base URI for relative
references.
This section is part of a normative section and I agree with you that this is
confusing.

Proposed fix ( available on the editor's copy as well ) :
http://dev.w3.org/cvsweb/~checkout~/2007/xml/sml/build/sml-if.html?content-type=text/html;%20charset=utf-8#baseURILevels


Define a new non-normative section to contain the base URI level information.
I have created this section  :

5.3.2.1 Base URI Informal Description (Non-Normative)

This specification defines two levels of base URI values to be used by relative
URI references defined in documents in the interchange set:

   1.

      A base URI value scoped to the interchange set, the interchange set level
base URI, which is the value of the /model/identify/baseURI element.
   2.

      A base URI value scoped to a single model document (definition or
instance) level, the document level base URI, which is the value of the
*/docInfo/aliases/primaryAlias element.

SML-IF producers have several combinations to consider when defining base URIs
in an SML-IF document:

   1.

      When the interchange set contains no relative URI references subject to
SML-IF URI processing (see 5.3.3 URI Reference Processing), both levels may be
omitted.
   2.

      When relative URI references subject to SML-IF URI processing exist in
the interchange set and all have the same base URI value, the interchange set
level is the suggested alternative.
   3.

      When relative URI references subject to SML-IF URI processing exists in
the interchange set and all have different base URI values, the document level
is the suggested alternative.
   4.

      When relative URI references subject to SML-IF URI processing exist in
the interchange set and they use a mixture of base URI values, some the same
and some different, both levels may be used.

Received on Wednesday, 13 February 2008 16:40:14 UTC