<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>2741</bug_id>
          
          <creation_ts>2006-01-20 21:11:08 +0000</creation_ts>
          <short_desc>wd-13: Underspecification in fallback to lax processing</short_desc>
          <delta_ts>2006-10-11 02:15:22 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema</product>
          <component>Structures: XSD Part 1</component>
          <version>1.1 only</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>important, easy</status_whiteboard>
          <keywords>resolved</keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mary Holstege">holstege</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          
          
          <qa_contact name="XML Schema comments list">www-xml-schema-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>7905</commentid>
    <comment_count>0</comment_count>
    <who name="Mary Holstege">holstege</who>
    <bug_when>2006-01-20 21:11:08 +0000</bug_when>
    <thetext>s recently pointed out in an exchange between Sandy Gao and Henry Thompson on 
the IG list (under the subject heading &quot;Validation rules for children of skipped 
elements&quot;), the paragraph at the end of Schema-Validity Assessment (Element) is 
slightly underspecified. It says:

If the item cannot be strictly assessed, because neither clause 1.1 nor clause 
1.2 above are satisfied, [Definition:] an element information item&apos;s schema 
validity may be laxly assessed _if its context-determined declaration is not 
skip_ by validating with respect to the ur-type definition as per Element 
Locally Valid (Type)

[emphasis added by HT]

The spec does not say whether validation with respect to the ur-type definition 
is allowed if the item&apos;s context-determined declaration IS skip, or not.

The spec also does not call out this and other implementation-dependent 
behaviors; it should.

Request concerning
Part 1
Schema-Validity Assessment (Element)
laxly assesed

Transition history
raised on 28 Oct 2004 by C. M. Sperberg-McQueen (http://lists.w3.org/Archives/
Public/www-xml-schema-comments/2004OctDec/0012.html)
accepted on 17 Dec 2004 (http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/
2004Dec/0050.html)

Background, proposals, threads, notes

RESOLVED: Classify issue wd-13 as &quot;accepted&quot;

_This_ issue stems from SG&apos;s challenge to prove that if have an element which 
matches a skip wildcard and it has a child that would be invalid against 
declaration, then I am not allowed to fallback to lax validation for children of 
skip wildcard. SG&apos;s point is the spec is underspecified and we need to make it 
clear: &quot;you may do this under the following circumstances _and only_ under those 
circumstances&quot; Suggest we should therefore &quot;accept&quot; this as an issue. 
agreed on 22 Apr 2005 (http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/
2005Apr/0056.html)

We have a resolution

Action history
Part 1 Editors
accepted on 22 Apr 2005 (http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/
2005Apr/0056.html)


Structures editors to produce wording proposal for wd-13.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12384</commentid>
    <comment_count>1</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2006-10-11 02:15:22 +0000</bug_when>
    <thetext>On 18 February 2005, the Working Group approved a proposal (keyword:
&apos;modals&apos;) which among other things changed the relevant conjunction
from &quot;if&quot; to &quot;if and only if&quot;.  In the status-quo document, this
paragraph now reads

    If the item cannot be strictly assessed, because neither
    clause 1.1 nor clause 1.2 above are satisfied, [Definition:]
    an element information item&apos;s schema validity must be laxly
    assessed if and only if its context-determined declaration is
    not skip by validating with respect to the ur-type definition
    as per Element Locally Valid (Type) (§3.3.4).

(The change from &apos;may&apos; to &apos;must&apos; was a separate change, approved
in August 2006 at the face to face meeting.)

Accordingly, I&apos;m not reclassifying this issue as &apos;resolved / fixed&apos;.
If either of the two original principals (Sandy Gao or Henry Thompson),
or for that matter anyone else, believes this issue has been wrongly
decided, they should re-open it.  If SG or HST believe the decision
resolves the original issue, they should change the status of the
issue to &apos;closed&apos;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>