test/data: add rule registry files

Signed-off-by: Ran Benita <ran@unusedvar.com>
master
Ran Benita 2020-09-07 11:38:00 +03:00
parent 1c3521993d
commit 534e54f621
5 changed files with 18176 additions and 0 deletions

File diff suppressed because it is too large Load Diff

7705
test/data/rules/base.xml Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

7705
test/data/rules/evdev.xml Normal file

File diff suppressed because it is too large Load Diff

58
test/data/rules/xkb.dtd Normal file
View File

@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Description: XKB configuration file DTD
Author: Sergey V. Udaltsov
-->
<!ELEMENT xkbConfigRegistry (modelList,layoutList,optionList)>
<!ATTLIST xkbConfigRegistry
version CDATA "1.1">
<!ELEMENT modelList (model*)>
<!ELEMENT model (configItem)>
<!ELEMENT layoutList (layout*)>
<!ELEMENT layout (configItem,variantList?)>
<!ELEMENT optionList (group*)>
<!ELEMENT variantList (variant*)>
<!ELEMENT variant (configItem)>
<!ELEMENT group (configItem,option*)>
<!ATTLIST group
allowMultipleSelection (true|false) "false">
<!ELEMENT option (configItem)>
<!ELEMENT configItem (name,shortDescription*,description*,vendor?,countryList?,languageList?,hwList?)>
<!ATTLIST configItem
popularity (standard|exotic) "standard">
<!ELEMENT name (#PCDATA)>
<!ELEMENT shortDescription (#PCDATA)>
<!ELEMENT description (#PCDATA)>
<!ELEMENT vendor (#PCDATA)>
<!ELEMENT countryList (iso3166Id+)>
<!ELEMENT iso3166Id (#PCDATA)>
<!ELEMENT languageList (iso639Id+)>
<!ELEMENT iso639Id (#PCDATA)>
<!ELEMENT hwList (hwId+)>
<!ELEMENT hwId (#PCDATA)>