]> git.ipfire.org Git - thirdparty/libvirt.git/commit
docs: newapi: Properly skip ACL entries if empty
authorPeter Krempa <pkrempa@redhat.com>
Thu, 29 Feb 2024 13:22:58 +0000 (14:22 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 1 Mar 2024 11:51:56 +0000 (12:51 +0100)
commit620cbfaea5f77478f941d2c75063622abee20790
treea6a20f300549842ca49bf8265b2679b76382ac19
parent6f4485a4539be52e85adec65858ecf6e2e7fb46a
docs: newapi: Properly skip ACL entries if empty

The source document can contain an empty '@flags' attribute which passes
the test but generates an empty element. Check that flags is non-empty
to trigger the fallback.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
docs/newapi.xsl