diff options
author | David Zeuthen <davidz@redhat.com> | 2007-04-01 15:08:52 -0400 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2007-04-01 15:08:52 -0400 |
commit | d3aaf33d66443c0f18743a78511caf16df36cb69 (patch) | |
tree | 4d8a6e7b47fcc07ff41926def2f1db6215fefbaf /fdi | |
parent | 6992f57a90e9e2a5b9f9c008204f2ef953d4db63 (diff) |
teach fdi.dtd about contains_not, rip out RNG scheme
Also add a note to the TODO list that we should have a
hal-fdi-file-validate tool much like desktop-file-validate
Diffstat (limited to 'fdi')
-rw-r--r-- | fdi/Makefile.am | 4 | ||||
-rw-r--r-- | fdi/fdi.dtd | 1 | ||||
-rw-r--r-- | fdi/fdi.rng | 82 |
3 files changed, 3 insertions, 84 deletions
diff --git a/fdi/Makefile.am b/fdi/Makefile.am index a8115b95..edf9d88c 100644 --- a/fdi/Makefile.am +++ b/fdi/Makefile.am @@ -1,8 +1,8 @@ SUBDIRS = information policy preprobe -EXTRA_DIST = fdi.dtd fdi.rng +EXTRA_DIST = fdi.dtd fdidir = $(datadir)/hal/fdi -dist_fdi_DATA = fdi.dtd fdi.rng +dist_fdi_DATA = fdi.dtd diff --git a/fdi/fdi.dtd b/fdi/fdi.dtd index 1cf19e44..6084bb1a 100644 --- a/fdi/fdi.dtd +++ b/fdi/fdi.dtd @@ -20,6 +20,7 @@ is_absolute_path (false|true) #IMPLIED contains CDATA #IMPLIED contains_ncase CDATA #IMPLIED + contains_not CDATA #IMPLIED prefix CDATA #IMPLIED prefix_ncase CDATA #IMPLIED suffix CDATA #IMPLIED diff --git a/fdi/fdi.rng b/fdi/fdi.rng deleted file mode 100644 index fa212050..00000000 --- a/fdi/fdi.rng +++ /dev/null @@ -1,82 +0,0 @@ -<?xml version="1.0"?> -<grammar - xmlns="http://relaxng.org/ns/structure/1.0" - datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" -> - <start> - <element name="deviceinfo"> - <attribute name="version"> - <choice> - <value>0.1</value> - <value>0.2</value> - </choice> - </attribute> - <zeroOrMore> - <ref name="device"/> - </zeroOrMore> - </element> - </start> - <define name="device"> - <element name="device"> - <zeroOrMore> - <choice> - <ref name="match"/> - <ref name="merge"/> - </choice> - </zeroOrMore> - </element> - </define> - <define name="match"> - <element name="match"> - <attribute name="key"/> - <choice> - <attribute name="bool"> - <data type="boolean"/> - </attribute> - <attribute name="int"> - <data type="string"/> - </attribute> - <attribute name="string"> - <text/> - </attribute> - </choice> - <zeroOrMore> - <choice> - <ref name="match"/> - <ref name="merge"/> - </choice> - </zeroOrMore> - </element> - </define> - <define name="merge"> - <element name="merge"> - <attribute name="key"/> - <choice> - <group> - <attribute name="type"> - <value>string</value> - </attribute> - <text/> - </group> - <group> - <attribute name="type"> - <value>int</value> - </attribute> - <data type="int"/> - </group> - <group> - <attribute name="type"> - <value>bool</value> - </attribute> - <data type="boolean"/> - </group> - <group> - <attribute name="type"> - <value>double</value> - </attribute> - <data type="double"/> - </group> - </choice> - </element> - </define> -</grammar> |