W3C home > Mailing lists > Public > public-sml@w3.org > December 2007

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

From: <bugzilla@wiggum.w3.org>
Date: Mon, 03 Dec 2007 22:20:12 +0000
CC:
To: public-sml@w3.org
Message-Id: <E1IzJe8-0007MZ-2N@wiggum.w3.org>

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:56:08 UTC