From c526cbebf1e619d2475cafb63d6573104b9070d2 Mon Sep 17 00:00:00 2001 From: Junjie Mao Date: Fri, 28 Oct 2022 17:04:06 +0800 Subject: [PATCH] doc: handle anonymous complex types in XML schema The schema of scenario XMLs uses both named and anonymous complex types, but the configdoc.xsl today only works for named complex types. That causes improper rendering of config items related to virtio devices (whose schema uses anonymous types) as well as wrong applicable VM icons which states that virtio devices apply to not only post-launched VMs but also pre-launched and service VM, which does not make sense. This patch improves configdoc.xsl by adding support of anonymous complex types so that they are walked through in the same way as named ones. Signed-off-by: Junjie Mao --- doc/scripts/configdoc.xsl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/scripts/configdoc.xsl b/doc/scripts/configdoc.xsl index 71546258c..078e5c004 100644 --- a/doc/scripts/configdoc.xsl +++ b/doc/scripts/configdoc.xsl @@ -61,7 +61,7 @@ - + @@ -81,7 +81,7 @@ - + @@ -189,7 +189,7 @@ - +