summaryrefslogtreecommitdiffstats
path: root/src/main/resources/libvirt/rng/privatedata.rng
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/libvirt/rng/privatedata.rng')
-rw-r--r--src/main/resources/libvirt/rng/privatedata.rng30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/main/resources/libvirt/rng/privatedata.rng b/src/main/resources/libvirt/rng/privatedata.rng
new file mode 100644
index 0000000..3955193
--- /dev/null
+++ b/src/main/resources/libvirt/rng/privatedata.rng
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+
+ <!-- This schema is provides scaffolding for having proper schema for private
+ data elements used by libvirt internally.
+
+ Public schema must not implement any of the defines below.
+
+ To override the definitions below use:
+
+ <define name="..." combine="choice">
+ -->
+
+ <define name="privateDataStorageSource">
+ <optional>
+ <element name="privateData">
+ <notAllowed/>
+ </element>
+ </optional>
+ </define>
+
+ <define name="privateDataDeviceDisk">
+ <optional>
+ <element name="privateData">
+ <notAllowed/>
+ </element>
+ </optional>
+ </define>
+
+</grammar>