Diff for /modules/damieng/clean_xml/loncapa.xsd between versions 1.6 and 1.8

version 1.6, 2015/04/30 20:43:16 version 1.8, 2015/05/04 20:59:30
Line 1347 Line 1347
             3. followed by any number of the following two things, separated by semi-colons:              3. followed by any number of the following two things, separated by semi-colons:
             (a) a comma-separated list of as many numbers as there are variables, which specifies one sampling point, OR              (a) a comma-separated list of as many numbers as there are variables, which specifies one sampling point, OR
             (b) a comma-separated list of as many numbers as there are variables, followed by a colon, followed by another list of as many numbers as there are variables, followed by a #, followed by an integer.              (b) a comma-separated list of as many numbers as there are variables, followed by a colon, followed by another list of as many numbers as there are variables, followed by a #, followed by an integer.
               
               a) specifies one point to sample. b) specifies a range for each variable, and the system will take as many random samples from that range as the number after the #.
           </xs:documentation>            </xs:documentation>
         </xs:annotation>          </xs:annotation>
       </xs:attribute>        </xs:attribute>
Line 2399 Line 2401
       <xs:attribute name="spellcheck">        <xs:attribute name="spellcheck">
         <xs:annotation>          <xs:annotation>
           <xs:documentation>            <xs:documentation>
             Spellcheck for              If this attribute is present, the text the user types is spellchecked when focus leaves the input field.
               The value specifies the language in which the spellcheck is performed.
           </xs:documentation>            </xs:documentation>
         </xs:annotation>          </xs:annotation>
         <xs:simpleType>          <xs:simpleType>
Line 2445 Line 2448
       </xs:attribute>        </xs:attribute>
       <xs:attribute default="no" name="readonly" type="yesno-or-perl"/>        <xs:attribute default="no" name="readonly" type="yesno-or-perl"/>
       <xs:attribute name="spellcheck">        <xs:attribute name="spellcheck">
           <xs:annotation>
             <xs:documentation>
               If this attribute is present, the text the user types is spellchecked when focus leaves the input field.
               The value specifies the language in which the spellcheck is performed.
             </xs:documentation>
           </xs:annotation>
         <xs:simpleType>          <xs:simpleType>
           <xs:union memberTypes="perl">            <xs:union memberTypes="perl">
             <xs:simpleType>              <xs:simpleType>
Line 4794 Line 4803
       </xs:extension>        </xs:extension>
     </xs:complexContent>      </xs:complexContent>
   </xs:complexType>    </xs:complexType>
   <xs:element name="script">  
     <xs:annotation>  
       <xs:documentation>  
         Perl Script Block  
           
         If the attribute type is set to “loncapa/perl” the enclosed data is a Perl script which is evaluated inside the Perl safe space. The return value of the script is ignored.  
       </xs:documentation>  
     </xs:annotation>  
     <xs:complexType mixed="true">  
       <xs:attribute default="text/javascript" name="type" type="xs:string"/>  
       <xs:attribute fixed="preserve" ref="xml:space"/>  
     </xs:complexType>  
   </xs:element>  
   <xs:element name="languageblock">    <xs:element name="languageblock">
     <xs:annotation>      <xs:annotation>
       <xs:documentation>        <xs:documentation>
Line 5377 Line 5373
   <xs:group name="head.misc">    <xs:group name="head.misc">
     <xs:sequence>      <xs:sequence>
       <xs:choice maxOccurs="unbounded" minOccurs="0">        <xs:choice maxOccurs="unbounded" minOccurs="0">
         <xs:element name="script" type="htmlScript"/>          <xs:element ref="script"/>
         <xs:element ref="style"/>          <xs:element ref="style"/>
         <xs:element name="meta" type="htmlMeta">          <xs:element name="meta" type="htmlMeta">
           <xs:annotation>            <xs:annotation>
Line 5586 Line 5582
       <xs:attribute fixed="preserve" ref="xml:space"/>        <xs:attribute fixed="preserve" ref="xml:space"/>
     </xs:complexType>      </xs:complexType>
   </xs:element>    </xs:element>
   <xs:complexType mixed="true" name="htmlScript">    <xs:element name="script">
     <xs:annotation>      <xs:annotation>
       <xs:documentation>        <xs:documentation>
           Perl Script Block or Javascript
           
           If the attribute type is set to “loncapa/perl” the enclosed data is a Perl script which is evaluated inside the Perl safe space. The return value of the script is ignored.
           
         The HTML &lt;script&gt; element is used to embed or reference an executable script within an HTML or XHTML document.          The HTML &lt;script&gt; element is used to embed or reference an executable script within an HTML or XHTML document.
                   
         Scripts without async or defer attributes, as well as inline scripts, are fetched and executed immediately, before the browser continues to parse the page.          Scripts without async or defer attributes, as well as inline scripts, are fetched and executed immediately, before the browser continues to parse the page.
       </xs:documentation>        </xs:documentation>
     </xs:annotation>      </xs:annotation>
     <xs:attribute name="id" type="xs:ID"/>      <xs:complexType mixed="true">
     <xs:attribute name="charset" type="xs:string"/>        <xs:attribute name="id" type="xs:ID"/>
     <xs:attribute name="src" type="xs:anyURI">        <xs:attribute name="charset" type="xs:string"/>
       <xs:annotation>        <xs:attribute name="src" type="xs:anyURI">
         <xs:documentation>          <xs:annotation>
           This attribute specifies the URI of an external script; this can be used as an alternative to embedding a script directly within a document. script elements with an src attribute specified should not have a script embedded within its tags.            <xs:documentation>
         </xs:documentation>              This attribute specifies the URI of an external script; this can be used as an alternative to embedding a script directly within a document. script elements with an src attribute specified should not have a script embedded within its tags.
       </xs:annotation>            </xs:documentation>
     </xs:attribute>          </xs:annotation>
     <xs:attribute default="text/javascript" name="type" type="xs:string">        </xs:attribute>
       <xs:annotation>        <xs:attribute default="text/javascript" name="type" type="xs:string">
         <xs:documentation>          <xs:annotation>
           This attribute identifies the scripting language of code embedded within a script element or referenced via the element’s src attribute. This is specified as a MIME type; examples of supported MIME types include text/javascript, text/ecmascript, application/javascript, and application/ecmascript.            <xs:documentation>
         </xs:documentation>              This attribute identifies the scripting language of code embedded within a script element or referenced via the element’s src attribute. This is specified as a MIME type; examples of supported MIME types include text/javascript, text/ecmascript, application/javascript, and application/ecmascript.
       </xs:annotation>              
     </xs:attribute>              If the attribute type is set to “loncapa/perl” the enclosed data is a Perl script which is evaluated inside the Perl safe space. The return value of the script is ignored.
     <xs:attribute name="language" type="xs:string">            </xs:documentation>
       <xs:annotation>          </xs:annotation>
         <xs:documentation>        </xs:attribute>
           Like the type attribute, this attribute identifies the scripting language in use. Unlike the type attribute, however, this attribute’s possible values were never standardized. The type attribute should be used instead.        <xs:attribute name="language" type="xs:string">
         </xs:documentation>          <xs:annotation>
       </xs:annotation>            <xs:documentation>
     </xs:attribute>              Like the type attribute, this attribute identifies the scripting language in use. Unlike the type attribute, however, this attribute’s possible values were never standardized. The type attribute should be used instead.
     <xs:attribute name="defer">            </xs:documentation>
       <xs:annotation>          </xs:annotation>
         <xs:documentation>        </xs:attribute>
           This Boolean attribute is set to indicate to a browser that the script is meant to be executed after the document has been parsed. Since this feature hasn't yet been implemented by all other major browsers, authors should not assume that the script’s execution will actually be deferred. The defer attribute shouldn't be used on scripts that don't have the src attribute. Since Gecko 1.9.2, the defer attribute is ignored on scripts that don't have the src attribute. However, in Gecko 1.9.1 even inline scripts are deferred if the defer attribute is set.        <xs:attribute name="defer">
         </xs:documentation>          <xs:annotation>
       </xs:annotation>            <xs:documentation>
       <xs:simpleType>              This Boolean attribute is set to indicate to a browser that the script is meant to be executed after the document has been parsed. Since this feature hasn't yet been implemented by all other major browsers, authors should not assume that the script’s execution will actually be deferred. The defer attribute shouldn't be used on scripts that don't have the src attribute. Since Gecko 1.9.2, the defer attribute is ignored on scripts that don't have the src attribute. However, in Gecko 1.9.1 even inline scripts are deferred if the defer attribute is set.
         <xs:restriction base="xs:token">            </xs:documentation>
           <xs:enumeration value="defer"/>          </xs:annotation>
         </xs:restriction>          <xs:simpleType>
       </xs:simpleType>            <xs:restriction base="xs:token">
     </xs:attribute>              <xs:enumeration value="defer"/>
     <xs:attribute name="async">            </xs:restriction>
       <xs:annotation>          </xs:simpleType>
         <xs:documentation>        </xs:attribute>
           HTML5 only.        <xs:attribute name="async">
           Set this Boolean attribute to indicate that the browser should, if possible, execute the script asynchronously. It has no effect on inline scripts (i.e., scripts that don't have the src attribute).          <xs:annotation>
         </xs:documentation>            <xs:documentation>
       </xs:annotation>              HTML5 only.
       <xs:simpleType>              Set this Boolean attribute to indicate that the browser should, if possible, execute the script asynchronously. It has no effect on inline scripts (i.e., scripts that don't have the src attribute).
         <xs:restriction base="xs:token">            </xs:documentation>
           <xs:enumeration value="async"/>          </xs:annotation>
         </xs:restriction>          <xs:simpleType>
       </xs:simpleType>            <xs:restriction base="xs:token">
     </xs:attribute>              <xs:enumeration value="async"/>
     <xs:attribute fixed="preserve" ref="xml:space"/>            </xs:restriction>
   </xs:complexType>          </xs:simpleType>
         </xs:attribute>
         <xs:attribute fixed="preserve" ref="xml:space"/>
       </xs:complexType>
     </xs:element>
   <xs:element name="noscript">    <xs:element name="noscript">
     <xs:annotation>      <xs:annotation>
       <xs:documentation>        <xs:documentation>

Removed from v.1.6  
changed lines
  Added in v.1.8


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>