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 schema allows <data> to not have any child element. 2 questions: - Should this be allowed (see discussion in bug 5047) - If yes, what does it mean? The IF spec needs to be clear about these 2 questions.
Comment #10 in 5047 has a scenario for <data> without a child element. <data> without a child element means that the document is missing from the SML IF.
Resolution: Agreed to empty <data> element. Mark as editorial - Kumar to come back to group with proposed text.
Changes for this defect may be already covered under http://www.w3.org/Bugs/Public/show_bug.cgi?id=5272
What I had in mind to resolve this bug is to add to section 5.2.1 something similar to what's in 5.2.2: If a <data> contains no child element, then the SML-IF consumer MUST treat the embedded document as if it is not part of the interchange set.
I agree with the concepts expressed in comment# 3 and comment# 4. Section "5.2.1 Embedded Documents" will change substantially when we address bug# 4687 (Handling of DTDs ...). Therefore, the actual text used will need to be consistent with the language of the rest of the changes in that section.
Added the following line to section 5.2.1 Embedded Documents: If model/*/document/data contains no child element or model/*/document/base64Data has empty content then the SML-IF consumer MUST treat the document as if it is not part of the interchange set.