forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-forrest/src/resources/schema/relaxng sitemap-v05.rng
Date Fri, 29 Nov 2002 05:59:25 GMT
jefft       2002/11/28 21:59:25

  Modified:    src/resources/schema/relaxng sitemap-v05.rng
  Log:
  Updated sitemap schema to handle new sourcetype tags. Thanks to Bruno Dumon
  
  Revision  Changes    Path
  1.3       +6 -148    xml-forrest/src/resources/schema/relaxng/sitemap-v05.rng
  
  Index: sitemap-v05.rng
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/schema/relaxng/sitemap-v05.rng,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- sitemap-v05.rng	21 Nov 2002 04:48:25 -0000	1.2
  +++ sitemap-v05.rng	29 Nov 2002 05:59:24 -0000	1.3
  @@ -948,19 +948,9 @@
     <define name="map.action">
       <element name="map:action">
         <ref name="map.action.attlist"/>
  -      <interleave>
  -        <optional><ref name="create-session"/></optional>
  -        <optional><ref name="store-in-session"/></optional>
  -        <optional><ref name="store-in-request"/></optional>
  -        <optional><ref name="store-in-cookie"/></optional>
  -        <optional><ref name="locale-attribute"/></optional>
  -        <optional><ref name="language-attribute"/></optional>
  -        <optional><ref name="country-attribute"/></optional>
  -        <optional><ref name="variant-attribute"/></optional>
  -        <optional><ref name="descriptor"/></optional>
  -        <optional><ref name="throw-exception"/></optional>
  -        <optional><ref name="output"/></optional>
  -      </interleave>
  +      <zeroOrMore>
  +        <ref name="anyElement"/>
  +      </zeroOrMore>
       </element>
     </define>
     <define name="map.action.attlist" combine="interleave">
  @@ -970,141 +960,6 @@
       <ref name="component.attr"/>
     </define>
   
  -  <define name="create-session">
  -    <element name="create-session">
  -      <ref name="create-session.attlist"/>
  -      <choice>
  -        <value>yes</value>
  -        <value>no</value>
  -        <value>true</value>
  -        <value>false</value>
  -      </choice>
  -    </element>
  -  </define>
  -  <define name="create-session.attlist" combine="interleave">
  -    <ref name="universal.attr"/>
  -  </define>
  -
  -  <define name="store-in-session">
  -    <element name="store-in-session">
  -      <ref name="store-in-session.attlist"/>
  -      <choice>
  -        <value>yes</value>
  -        <value>no</value>
  -        <value>true</value>
  -        <value>false</value>
  -      </choice>      
  -    </element>
  -  </define>
  -  <define name="store-in-session.attlist" combine="interleave">
  -    <ref name="universal.attr"/>
  -  </define>
  -
  -  <define name="store-in-request">
  -    <element name="store-in-request">
  -      <ref name="store-in-request.attlist"/>
  -      <choice>
  -        <value>yes</value>
  -        <value>no</value>
  -        <value>true</value>
  -        <value>false</value>
  -      </choice>
  -    </element>
  -  </define>
  -  <define name="store-in-request.attlist" combine="interleave">
  -    <ref name="universal.attr"/>
  -  </define>
  -
  -  <define name="store-in-cookie">
  -    <element name="store-in-cookie">
  -      <ref name="store-in-cookie.attlist"/>
  -      <choice>
  -        <value>yes</value>
  -        <value>no</value>
  -        <value>true</value>
  -        <value>false</value>
  -      </choice>
  -    </element>
  -  </define>
  -  <define name="store-in-cookie.attlist" combine="interleave">
  -    <ref name="universal.attr"/>
  -  </define>
  -
  -  <define name="locale-attribute">
  -    <element name="locale-attribute">
  -      <ref name="locale-attribute.attlist"/>
  -      <data type="string" />
  -    </element>
  -  </define>
  -  <define name="locale-attribute.attlist" combine="interleave">
  -    <ref name="universal.attr"/>
  -  </define>
  -
  -  <define name="language-attribute">
  -    <element name="language-attribute">
  -      <ref name="language-attribute.attlist"/>
  -      <data type="string" />
  -    </element>
  -  </define>
  -  <define name="language-attribute.attlist" combine="interleave">
  -    <ref name="universal.attr"/>
  -  </define>
  -
  -  <define name="country-attribute">
  -    <element name="country-attribute">
  -      <ref name="country-attribute.attlist"/>
  -      <data type="string" />
  -    </element>
  -  </define>
  -  <define name="country-attribute.attlist" combine="interleave">
  -    <ref name="universal.attr"/>
  -  </define>
  -
  -  <define name="variant-attribute">
  -    <element name="variant-attribute">
  -      <ref name="variant-attribute.attlist"/>
  -      <data type="string" />
  -    </element>
  -  </define>
  -  <define name="variant-attribute.attlist" combine="interleave">
  -    <ref name="universal.attr"/>
  -  </define>
  -
  -  <define name="descriptor">
  -    <element name="descriptor">
  -      <ref name="descriptor.attlist"/>
  -      <data type="string" />
  -    </element>
  -  </define>
  -  <define name="descriptor.attlist" combine="interleave">
  -    <ref name="universal.attr"/>
  -  </define>
  -
  -  <define name="throw-exception">
  -    <element name="throw-exception" a:defaultValue="false">
  -      <ref name="throw-exception.attlist"/>
  -      <choice>
  -        <value>yes</value>
  -        <value>no</value>
  -        <value>true</value>
  -        <value>false</value>
  -      </choice>
  -    </element>
  -  </define>
  -  <define name="throw-exception.attlist" combine="interleave">
  -    <ref name="universal.attr"/>
  -  </define>
  -
  -  <define name="output">
  -    <element name="output-module">
  -      <ref name="output.attlist"/>
  -      <data type="string" />
  -    </element>
  -  </define>
  -  <define name="output.attlist" combine="interleave">
  -    <ref name="universal.attr"/>
  -  </define>
  -
   <!-- =============================================================== -->
   <!-- Views -->
   <!-- =============================================================== -->
  @@ -1300,6 +1155,9 @@
     <define name="map.select">
       <element name="map:select">
         <ref name="map.select.attlist"/>
  +      <zeroOrMore>
  +        <ref name="map.parameter"/>
  +      </zeroOrMore>
         <zeroOrMore>
           <ref name="map.when"/>
         </zeroOrMore>
  
  
  

Mime
View raw message