From: Kirill Shchetiniuk <kshch...@redhat.com> Previously, in some places where path attributes were defined, the '<text/>' type was used instead of one of the provided types for paths. Now, the '<text/>' type has been replaced with the 'relativePath' type to maintain consistency and ensure backward compatibility.
Signed-off-by: Kirill Shchetiniuk <kshch...@redhat.com> --- src/conf/schemas/domaincommon.rng | 8 ++++---- src/conf/schemas/network.rng | 2 +- src/conf/schemas/nodedev.rng | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/conf/schemas/domaincommon.rng b/src/conf/schemas/domaincommon.rng index c333e3e1e2..2f48d3f603 100644 --- a/src/conf/schemas/domaincommon.rng +++ b/src/conf/schemas/domaincommon.rng @@ -1519,7 +1519,7 @@ <optional> <element name="bootloader"> <choice> - <text/> + <ref name="relativePath"/> <empty/> </choice> </element> @@ -1555,7 +1555,7 @@ </optional> <optional> <element name="shim"> - <text/> + <ref name="relativePath"/> </element> </optional> <optional> @@ -1695,7 +1695,7 @@ </element> <element name="target"> <attribute name="path"> - <text/> + <ref name="relativePath"/> </attribute> <optional> <attribute name="offset"> @@ -4215,7 +4215,7 @@ </optional> <optional> <attribute name="xauth"> - <text/> + <ref name="relativePath"/> </attribute> </optional> <optional> diff --git a/src/conf/schemas/network.rng b/src/conf/schemas/network.rng index bc170a59b5..4ce8629f26 100644 --- a/src/conf/schemas/network.rng +++ b/src/conf/schemas/network.rng @@ -369,7 +369,7 @@ <interleave> <optional> <element name="tftp"> - <attribute name="root"><text/></attribute> + <attribute name="root"><ref name="relativePath"/></attribute> </element> </optional> <optional> diff --git a/src/conf/schemas/nodedev.rng b/src/conf/schemas/nodedev.rng index 31ce517e4d..a387e0df3e 100644 --- a/src/conf/schemas/nodedev.rng +++ b/src/conf/schemas/nodedev.rng @@ -14,7 +14,7 @@ and in virsh --> <element name="name"><text/></element> <optional> - <element name="path"><text/></element> + <element name="path"><ref name="relativePath"/></element> </optional> <zeroOrMore> <element name="devnode"> @@ -24,7 +24,7 @@ <value>link</value> </choice> </attribute> - <text/> + <ref name="relativePath"/> </element> </zeroOrMore> <optional> -- 2.49.0