diff options
author | Eric Engestrom <[email protected]> | 2019-02-26 12:32:04 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-02-28 17:30:44 +0000 |
commit | bb6b691c574ecc891528947f92be227fb6bcf872 (patch) | |
tree | 9040fa39fa20a7d55a9e8e4ea79a876507a1110e /src/util/00-mesa-defaults.conf | |
parent | 4c3b2932422a7b8cad6b8373bbcf30328754b76b (diff) |
driconf: add DTD to allow the drirc xml (00-mesa-defaults.conf) to be validated
This DTD can be used to validate the drirc xml:
$ xmllint --noout --valid 00-mesa-defaults.conf
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/util/00-mesa-defaults.conf')
-rw-r--r-- | src/util/00-mesa-defaults.conf | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf index f5405a0da84..320de83a619 100644 --- a/src/util/00-mesa-defaults.conf +++ b/src/util/00-mesa-defaults.conf @@ -1,3 +1,4 @@ +<?xml version="1.0" standalone="yes"?> <!-- ============================================ @@ -27,6 +28,18 @@ TODO: document the other workarounds. --> +<!DOCTYPE driconf [ + <!ELEMENT driconf (device+)> + <!ELEMENT device (application+)> + <!ATTLIST device driver CDATA #IMPLIED> + <!ELEMENT application (option+)> + <!ATTLIST application name CDATA #REQUIRED + executable CDATA #REQUIRED> + <!ELEMENT option EMPTY> + <!ATTLIST option name CDATA #REQUIRED + value CDATA #REQUIRED> +]> + <driconf> <!-- Please always enable app-specific workarounds for all drivers and screens. --> |