It offers very little savings (dropping it actually reduces the numbers of lines in the file slightly) and gets in the way of upcoming changes.
Signed-off-by: Andrea Bolognani <[email protected]> --- src/conf/schemas/domaincommon.rng | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/conf/schemas/domaincommon.rng b/src/conf/schemas/domaincommon.rng index c7346526ef..400e7eec22 100644 --- a/src/conf/schemas/domaincommon.rng +++ b/src/conf/schemas/domaincommon.rng @@ -341,7 +341,9 @@ </attribute> </optional> <optional> - <ref name="pflashFormat"/> + <attribute name="format"> + <ref name="pflashFormatTypes"/> + </attribute> </optional> <optional> <ref name="absFilePath"/> @@ -361,7 +363,9 @@ </attribute> </optional> <optional> - <ref name="pflashFormat"/> + <attribute name="format"> + <ref name="pflashFormatTypes"/> + </attribute> </optional> <optional> <choice> @@ -8027,12 +8031,6 @@ </choice> </define> - <define name="pflashFormat"> - <attribute name="format"> - <ref name="pflashFormatTypes"/> - </attribute> - </define> - <!-- Optional HyperV Enlightenment features --> <define name="hyperv"> <element name="hyperv"> -- 2.52.0
