home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / boot / i386 / root / usr / share / zypp / schema / yum / product.rnc < prev    next >
Encoding:
Text File  |  2006-11-29  |  1.5 KB  |  81 lines

  1. default namespace = "http://linux.duke.edu/metadata/rpm"
  2. namespace ns1 = "http://novell.com/package/metadata/suse/product"
  3.  
  4. include "rpm-ns.rnc"
  5.  
  6. start =
  7. element ns1:product {
  8.   attribute type { text },
  9.   element ns1:vendor { text },
  10.   element ns1:name { text },
  11.   element ns1:version {
  12.     attribute epoch { xsd:nonNegativeInteger },
  13.     attribute ver { text },
  14.     attribute rel { text }
  15.   },
  16.   element ns1:displayname {
  17.     attribute lang { text },
  18.     text
  19.   }+,
  20.   element ns1:shortname {
  21.     attribute lang { text },
  22.     text
  23.   }*,
  24.   element ns1:description {
  25.     attribute lang { text },
  26.     text
  27.   }+,
  28.   element provides {
  29.     (
  30.       element entry {
  31.         attribute-kind?,
  32.         attribute-name,
  33.         (
  34.           shared-entry-attributes,
  35.           attribute-flags-provides
  36.         )?,
  37.         empty
  38.       } |
  39.       element-capability
  40.     )+
  41.   }?,
  42.   element conflicts {
  43.     usual-entry-or-capability+    
  44.   }?,
  45.   element obsoletes {
  46.     (
  47.       element entry {
  48.         attribute-kind?,
  49.         attribute-name,
  50.         (
  51.           shared-entry-attributes,
  52.           attribute-flags-obsoletes
  53.         )?,
  54.         empty
  55.       } |
  56.       element-capability
  57.     )+
  58.   }?,
  59.   element requires {
  60.     (
  61.       element entry {
  62.         attribute pre { "1" | "0" }?,
  63.         usual-entry-content
  64.       } |
  65.       element-capability
  66.     )*
  67.   }?,
  68.   element recommends {
  69.     usual-entry-or-capability*
  70.   }?,
  71.   element enhances {
  72.     usual-entry-or-capability*
  73.   }?,
  74.   element supplements {
  75.     usual-entry-or-capability*
  76.   }?,
  77.   element suggests {
  78.     usual-entry-or-capability*
  79.   }?
  80. }
  81.