[Bug 5294] Add an explanation on why the smlif:dataType has processContents=skip

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


virginia.smith@hp.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Keywords|editorial                   |needsReview




------- Comment #2 from virginia.smith@hp.com  2007-12-03 22:20 -------
The new schema reads as follows: 
--------
  <xs:complexType name="dataType" mixed="false">
    <xs:annotation>
      <xs:documentation>
The wildcard with processContents "skip" matches the root element of the  
model document being packaged. The value of processContents is set to "skip" so
that the contained element is not processed for schema validation. As a result,
validity of the packaged document will not affect validity of the IF document
itself.
      </xs:documentation>
    </xs:annotation>    
    <xs:sequence>
      <xs:any processContents="skip" minOccurs="0" namespace="##any"
maxOccurs="1"/>
    </xs:sequence>
    <xs:anyAttribute namespace="##other" processContents="lax"/>
  </xs:complexType>

--------

Note the phrase "the contained element is not **processed** for schema
validation". This is a change from the proposal.

Received on Monday, 3 December 2007 22:20:16 UTC