/usr/share/netcf/xml/augeas.rng is in libnetcf1 1:0.2.8-1ubuntu1.
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 | <!--
A very simple XML representation of parts of the Augeas tree
The main advantage of this representation is that it's easy to
convert it into calls in the public API
-->
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<start>
<ref name="forest"/>
</start>
<define name="forest">
<element name="forest">
<oneOrMore>
<element name="tree">
<attribute name="path"><ref name="path-pattern"/></attribute>
<zeroOrMore>
<element name="node">
<attribute name="label"><ref name="label-pattern"/></attribute>
<optional>
<attribute name="value"><text/></attribute>
</optional>
</element>
</zeroOrMore>
</element>
</oneOrMore>
</element>
</define>
<!--
Type library
-->
<define name='path-pattern'>
<data type='string'>
<param name="pattern">[a-zA-Z0-9_\.\+\-/%]+</param>
</data>
</define>
<define name='label-pattern'>
<data type='string'>
<param name="pattern">[a-zA-Z0-9_\.\+\-%]+</param>
</data>
</define>
</grammar>
|