/usr/share/zypp/schema/yum/common-inc.rng is in libzypp-common 15.3.0-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | <?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<!--
private is not an XML namespace, just a holder for reusable
attribute/element sets
-->
<define name="private.positive">
<data type="positiveInteger">
<param name="pattern">[1-9][0-9]*</param>
</data>
</define>
<define name="private.nonnegative">
<choice>
<value>0</value>
<ref name="private.positive"/>
</choice>
</define>
<!--
Unix timestamp (seconds since epoch)
For our purposes, this is always positive
-->
<define name="private.unixts">
<ref name="private.positive"/>
</define>
<define name="private.size">
<ref name="private.nonnegative"/>
</define>
<define name="private.checksum">
<choice>
<group>
<attribute name="type">
<value>md5</value>
</attribute>
<data type="string">
<param name="length">32</param>
<param name="pattern">[0-9a-f]*</param>
</data>
</group>
<group>
<attribute name="type">
<value>sha</value>
</attribute>
<data type="string">
<param name="length">40</param>
<param name="pattern">[0-9a-f]*</param>
</data>
</group>
<group>
<attribute name="type">
<value>sha256</value>
</attribute>
<data type="string">
<param name="length">64</param>
<param name="pattern">[0-9a-f]*</param>
</data>
</group>
<group>
<attribute name="type">
<value>sha</value>
</attribute>
<data type="string">
<param name="length">32</param>
<param name="pattern">[0-9a-f]*</param>
</data>
</group>
</choice>
</define>
<!-- The last option is totally broken, but is in the wild!!! :( -->
<define name="private.evr">
<optional>
<attribute name="epoch">
<ref name="private.nonnegative"/>
</attribute>
</optional>
<attribute name="ver"/>
<optional>
<attribute name="rel"/>
</optional>
</define>
<define name="private.localizedtext">
<attribute name="lang">
<choice>
<value>en</value>
<value>de</value>
</choice>
</attribute>
<text/>
</define>
<define name="private.archenum">
<choice>
<value>noarch</value>
<value>i386</value>
<value>i486</value>
<value>i586</value>
<value>i686</value>
<value>athlon</value>
<value>x86_64</value>
<value>pentium3</value>
<value>pentium4</value>
<value>s390</value>
<value>s390x</value>
<value>ppc</value>
<value>ppc64</value>
<value>ia64</value>
<value>alphaev67</value>
<value>alphaev6</value>
<value>alphapca56</value>
<value>alphaev56</value>
<value>alphaev5</value>
<value>alpha</value>
<value>sparc64v</value>
<value>sparcv9v</value>
<value>sparc64</value>
<value>sparcv9</value>
<value>sparcv8</value>
<value>sparc</value>
<value>aarch64</value>
<value>armv7tnhl</value>
<value>armv7thl</value>
<value>armv7nhl</value>
<value>armv7hl</value>
<value>armv7l</value>
<value>armv6l</value>
<value>armv5tejl</value>
<value>armv5tel</value>
<value>armv5l</value>
<value>armv4tl</value>
<value>armv4l</value>
<value>armv3l</value>
<value>sh3</value>
<value>sh4</value>
<value>sh4a</value>
<value>m68k</value>
<value>src</value>
</choice>
</define>
</grammar>
|