The OS <variant> tag must allow multiple <name> elements because there can be translations present. Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx> --- Pushed to master as a build-fix data/schemas/libosinfo.rng | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/data/schemas/libosinfo.rng b/data/schemas/libosinfo.rng index b97e1cb..6149f14 100644 --- a/data/schemas/libosinfo.rng +++ b/data/schemas/libosinfo.rng @@ -222,9 +222,16 @@ <element name='variant'> <attribute name='id'> </attribute> - <element name='name'> - <text/> - </element> + <oneOrMore> + <element name='name'> + <optional> + <attribute name='xml:lang'> + <text/> + </attribute> + </optional> + <text/> + </element> + </oneOrMore> </element> </define> -- 2.5.0 _______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo