- From: <bugzilla@wiggum.w3.org>
- Date: Wed, 28 Feb 2007 01:38:46 +0000
- To: www-xml-schema-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=4269 cmsmcq@w3.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #1 from cmsmcq@w3.org 2007-02-28 01:38 ------- I agree in principle that it would be strange if some elements were strictly assessed, but not assessed. We should change that if it's so. I don't currently think, however, that it is so. The statement about strict assessment occurs within the constraintnote; that is, I think that implicitly it's saying "If an element has been assessed, and either case of clause 1 holds, then it has been strictly assessed." That is, I think that the intention was not that any element be strictly assessed without being assessed. I do think we have a problem here, or several. One symptom is that for ANY element which has been assessed, one or the other case of clause 1 must hold. So that as currently worded, I think the definition of 'strictly assessed' is not doing its proper job. Another problem is that the wording of clause 2 seems flawed. I don't think skipping the skipped children of an element should have the effect of meaning that it is not assessed (as seems to be the consequence in the example shown in the description of this bug). We need to have a coherent story about levels of assessment, and then we need to make the terminology of the spec follow that story. In the example, I think that the right way to talk about things is to say that the 'parent' element has been assessed, and the 'child' has not been assessed. Perhaps the right answer is to make several changes: (1) Change the introductory prose for SVA(E) to read "For an element to be strictly assessed, all of the following must be true" (or better: an element is strictly assessed if and only if all of the following are true"). I do not the suggestion in the description, to make the introductory prose talk about things being "fully assessed", is the right solution. SVA(E) should be satisfied for elements with skipped children and grandchildren. But those elements are not fully assessed, even if they are strictly assessed. (2) Delete the separate definition of 'strictly assessed', since it's now defined by Schema Validity Assessment (Element). (3) Modify clause 2 to make clear that what is required is (a) that for each child or attribute with a govenring element or type, that child is to be assessed, and (b) that each child or attribute which is skipped (i.e. attributed to a skip wildcard) should not be assessed. I had hoped that this would prove a simple issue that could go on a consent agenda without a wording proposal. Alas, I seem to have been wrong.
Received on Wednesday, 28 February 2007 01:38:59 UTC