Skip to content

Commit d62624f

Browse files
committed
q-dev: update qubes.rng and fix tests
1 parent b8bee03 commit d62624f

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

relaxng/qubes.rng

+22-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ the parser will complain about missing combine= attribute on the second <start>.
205205
<oneOrMore>
206206
<element name="device">
207207
<doc:description>
208-
One device. It's identified by by a pair of
208+
One device. It's identified by a pair of
209209
backend domain and some identifier (device class
210210
dependant).
211211
</doc:description>
@@ -222,6 +222,27 @@ the parser will complain about missing combine= attribute on the second <start>.
222222
<param name="pattern">[0-9a-f]{2}_[0-9a-f]{2}.[0-9a-f]{2}</param>
223223
</data>
224224
</attribute>
225+
<zeroOrMore>
226+
<attribute name="identity">
227+
<doc:description>
228+
Device presented identity.
229+
</doc:description>
230+
<data type="string">
231+
<param name="pattern">[A-Za-z0-9\*\:\-]+</param>
232+
</data>
233+
</attribute>
234+
</zeroOrMore>
235+
<zeroOrMore>
236+
<attribute name="mode">
237+
<doc:description>
238+
Available values: 'required', 'auto-attach', 'ask-to-attach'.
239+
If not present: 'required' is assumed.
240+
</doc:description>
241+
<data type="string">
242+
<param name="pattern">[a-z_-]+</param>
243+
</data>
244+
</attribute>
245+
</zeroOrMore>
225246
<zeroOrMore>
226247
<attribute name="required">
227248
<doc:description>

0 commit comments

Comments
 (0)