The "volName" will be used by later patch.
---
docs/schemas/basictypes.rng | 6 ++++++
docs/schemas/storagevol.rng | 8 +-------
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/docs/schemas/basictypes.rng b/docs/schemas/basictypes.rng
index 38cab16..15bae4e 100644
--- a/docs/schemas/basictypes.rng
+++ b/docs/schemas/basictypes.rng
@@ -219,4 +219,10 @@
</data>
</define>
+ <define name='volName'>
+ <data type='string'>
+ <param name="pattern">[a-zA-Z0-9_\+\-\.]+</param>
+ </data>
+ </define>
+
</grammar>
diff --git a/docs/schemas/storagevol.rng b/docs/schemas/storagevol.rng
index 8335b61..10b7847 100644
--- a/docs/schemas/storagevol.rng
+++ b/docs/schemas/storagevol.rng
@@ -13,7 +13,7 @@
<define name='vol'>
<element name='volume'>
<element name='name'>
- <ref name='name'/>
+ <ref name='volName'/>
</element>
<optional>
<element name='key'>
@@ -209,10 +209,4 @@
</optional>
</define>
- <define name='name'>
- <data type='string'>
- <param name="pattern">[a-zA-Z0-9_\+\-\.]+</param>
- </data>
- </define>
-
</grammar>
--
1.7.7.6