[Bug 5462] Can sml:nilref="true" be specified on a non-SML reference?

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


virginia.smith@hp.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|editorial                   |needsReview




------- Comment #8 from virginia.smith@hp.com  2008-02-14 22:09 -------
Fixed per comments #4-7:

=> sections 4.1.2 and 4.1.3 changed from:
---------------------
4.1.2 Null SML Reference

An element information item in an SML model instance document is a null SML
reference if and only if all of the following is true:

   1. It is an SML reference.
   2.  It has an attribute information item for which all of the following is
true
         1. Its [local name] is nilref
         2. Its [namespace name] is http://www.w3.org/@@@@/@@/sml
         3. Its [normalized value] after whitespace normalization using
collapse following schema rules, is either "true" or "1".

4.1.3 Unresolved SML Reference

An element information item in an SML model instance document is an unresolved
SML reference if and only if all of the following is true:

   1. It is a non-null SML reference.
   2. None of the recognized reference schemes resolves.
...
--------------------
To:
----------------------
4.1.2 Null SML Reference

An SML reference is null if and only if it has an attribute information item
for which all of the following is true

   1. Its [local name] is nilref
   2. Its [namespace name] is http://www.w3.org/@@@@/@@/sml
   3. Its [normalized value] after whitespace normalization using collapse
following schema rules, is either "true" or "1".

It is a consequence of the preceding that this specification assigns no meaning
to the sml:nilref attribute when it is used on an element that is not an SML
reference. Model validators MAY choose to warn their invokers should they
detect this condition in a document.

4.1.3 Unresolved SML Reference

An SML reference is unresolved if and only if all of the following is true:

   1. It is a non-null SML reference.
   2. None of the recognized reference schemes resolves.
...
------------------------

=> section 4.2.5 changed from:
-------------------
4.2.5 Null SML References

An null SML reference is an explicit declaration of intent by the document
author that the SML reference itself does not exist, and a processing directive
(not a hint) to model validators not to attempt to recognize any reference
schemes in it. If an SML reference is recognized as null, then model validators
MUST NOT attempt to resolve it.

Model validators MUST ignore an sml:nilref attribute when present on an element
that is not an SML Reference [4.1.1 SML Reference], in which case the model
validator MAY issue a warning to its invoker. 
--------------
To:
---------------------
4.2.5 Null SML References

A null SML reference is an explicit declaration of intent by the document
author that the target of the SML reference does not exist and a processing
directive (not a hint) to model validators not to attempt to recognize any
reference schemes in it. If an SML reference is recognized as null, then model
validators MUST NOT attempt to resolve it.

-------------------

Received on Thursday, 14 February 2008 22:09:19 UTC