This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The current IF draft has: "A conforming SML-IF consumer MAY locate a referred to document. If a conforming SML-IF consumer chooses to not locate a referred to document, it SHOULD make its invoker aware of this condition." The spec should be clear about what it means if either of the following is true (both are allowed): - The consumer doesn't attempt to resolve documentURI (or other mechanism used by <locator>) - The consumer does attempt to resolve it but failed. Should it be: a An error b Treated as if containing <document> is not in the IF document c Treated as if the interchange set doesn't not contain this document ... Difference between (b) and (c) is that (b) will hide errors like duplicate aliases and (c) won't. I prefer (c).
Proposal: Align this with the proposal for 5040. The behavior of a conforming SML-IF consumer is undefined when it enounters error when dereferencing a 'locator'.
Agree with #1 - recommend resolving as per #1
Fix as per (c) in Sandy's original proposal. This should be the behavior of IF consumers when - The consumer doesn't attempt to resolve <locator> - The consumer does attempt to resolve it but failed (network error or document not present)
Fixed as follows: Old text: -------- 5.2.2 Document References If a document is to be referred to rather than embedded, SML-IF producers MUST provide its location using the locator child of the corresponding document element. SML-IF specifies one way that MAY be used to provide the location of the referred to document, the documentURI element. A conforming SML-IF consumer MAY locate a referred to document. If a conforming SML-IF consumer chooses to not locate a referred to document, it SHOULD make its invoker aware of this condition. -------- New text: -------- 5.2.2 Referenced Documents If a document is to be referred to rather than embedded, SML-IF producers MUST provide its location using the locator child of the corresponding document element. SML-IF specifies one way that MAY be used to provide the location of the referenced document, the documentURI element. An SML-IF consumer MAY choose to locate a referenced document. If an SML-IF consumer chooses not to locate a referenced document or if it attempts to locate the referenced document and this attempt fails, then the SML-IF consumer MUST treat the referenced document as if it is not part of this interchange set. If either of these conditions occurs, the SML-IF consumer SHOULD make its invoker aware of this condition. --------
The change looks correct.
from: "...as if it is not part of this interchange..." to : "...as if it is not part of the interchange..." aside from that, fine