Changeset 8823a97


Ignore:
Timestamp:
Apr 24, 2011, 2:11:53 PM (13 years ago)
Author:
Joe Ciccone <jciccone@…>
Children:
3f2c36d
Parents:
41fab2e
Message:

Add an attribute to the schema. c:r, r for reference.

Location:
BOOK/schema/clfs/0.1/rng
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/schema/clfs/0.1/rng/clfs.rnc

    r41fab2e r8823a97  
    3939clfs.attrib.multilib = attribute c:multilib { "true" | "false" }?
    4040
     41clfs.attrib.r = attribute c:r { text }?
     42
    4143# Inline Elements
    4244
     
    9092clfs.package.para =
    9193  element c:para {
    92     clfs.attrib.arch,
    93     clfs.attrib.bits,
    94     clfs.attrib.multilib,
     94    xml.attrib.base,
     95    clfs.attrib.arch,
     96    clfs.attrib.bits,
     97    clfs.attrib.multilib,
     98    clfs.attrib.r,
    9599    clfs.inline
    96100  }
     
    98102clfs.package.note =
    99103  element c:note {
    100     clfs.attrib.arch,
    101     clfs.attrib.bits,
    102     clfs.attrib.multilib,
     104    xml.attrib.base,
     105    clfs.attrib.arch,
     106    clfs.attrib.bits,
     107    clfs.attrib.multilib,
     108    clfs.attrib.r,
    103109    (clfs.package.para | clfs.package.command)*
    104110  }
     
    106112clfs.package.warning =
    107113  element c:note {
    108     clfs.attrib.arch,
    109     clfs.attrib.bits,
    110     clfs.attrib.multilib,
     114    xml.attrib.base,
     115    clfs.attrib.arch,
     116    clfs.attrib.bits,
     117    clfs.attrib.multilib,
     118    clfs.attrib.r,
    111119    (clfs.package.para | clfs.package.command)*
    112120  }
     
    114122clfs.package.command =
    115123  element c:command {
    116     clfs.attrib.arch,
    117     clfs.attrib.bits,
    118     clfs.attrib.multilib,
     124    xml.attrib.base,
     125    clfs.attrib.arch,
     126    clfs.attrib.bits,
     127    clfs.attrib.multilib,
     128    clfs.attrib.r,
    119129    attribute c:nodump {
    120130      "true" | "false"
  • BOOK/schema/clfs/0.1/rng/clfs.rng

    r41fab2e r8823a97  
    8585    </optional>
    8686  </define>
     87  <define name="clfs.attrib.r">
     88    <optional>
     89      <attribute name="c:r"/>
     90    </optional>
     91  </define>
    8792  <!-- Inline Elements -->
    8893  <define name="clfs.inline">
     
    143148  <define name="clfs.package.para">
    144149    <element name="c:para">
    145       <ref name="clfs.attrib.arch"/>
    146       <ref name="clfs.attrib.bits"/>
    147       <ref name="clfs.attrib.multilib"/>
     150      <ref name="xml.attrib.base"/>
     151      <ref name="clfs.attrib.arch"/>
     152      <ref name="clfs.attrib.bits"/>
     153      <ref name="clfs.attrib.multilib"/>
     154      <ref name="clfs.attrib.r"/>
    148155      <ref name="clfs.inline"/>
    149156    </element>
     
    151158  <define name="clfs.package.note">
    152159    <element name="c:note">
    153       <ref name="clfs.attrib.arch"/>
    154       <ref name="clfs.attrib.bits"/>
    155       <ref name="clfs.attrib.multilib"/>
     160      <ref name="xml.attrib.base"/>
     161      <ref name="clfs.attrib.arch"/>
     162      <ref name="clfs.attrib.bits"/>
     163      <ref name="clfs.attrib.multilib"/>
     164      <ref name="clfs.attrib.r"/>
    156165      <zeroOrMore>
    157166        <choice>
     
    164173  <define name="clfs.package.warning">
    165174    <element name="c:note">
    166       <ref name="clfs.attrib.arch"/>
    167       <ref name="clfs.attrib.bits"/>
    168       <ref name="clfs.attrib.multilib"/>
     175      <ref name="xml.attrib.base"/>
     176      <ref name="clfs.attrib.arch"/>
     177      <ref name="clfs.attrib.bits"/>
     178      <ref name="clfs.attrib.multilib"/>
     179      <ref name="clfs.attrib.r"/>
    169180      <zeroOrMore>
    170181        <choice>
     
    177188  <define name="clfs.package.command">
    178189    <element name="c:command">
    179       <ref name="clfs.attrib.arch"/>
    180       <ref name="clfs.attrib.bits"/>
    181       <ref name="clfs.attrib.multilib"/>
     190      <ref name="xml.attrib.base"/>
     191      <ref name="clfs.attrib.arch"/>
     192      <ref name="clfs.attrib.bits"/>
     193      <ref name="clfs.attrib.multilib"/>
     194      <ref name="clfs.attrib.r"/>
    182195      <optional>
    183196        <attribute name="c:nodump">
Note: See TracChangeset for help on using the changeset viewer.