mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-24 06:03:52 +03:00
schema: Remove workaround for bug in libxml2 2.7.6
New libxml2 handles '\n' properly so the literal newline is not necessary, because 2.9.1 is the minimum version we support. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
33092d716c
commit
e955106195
@ -19,9 +19,7 @@
|
||||
<define name="title">
|
||||
<element name="title">
|
||||
<data type="string">
|
||||
<!-- Use literal newline instead of \n for bug in libxml2 2.7.6 -->
|
||||
<param name="pattern">[^
|
||||
]+</param>
|
||||
<param name="pattern">[^\n]+</param>
|
||||
</data>
|
||||
</element>
|
||||
</define>
|
||||
@ -6948,9 +6946,7 @@
|
||||
</define>
|
||||
<define name="domainName">
|
||||
<data type="string">
|
||||
<!-- Use literal newline instead of \n for bug in libxml2 2.7.6 -->
|
||||
<param name="pattern">[^
|
||||
]+</param>
|
||||
<param name="pattern">[^\n]+</param>
|
||||
</data>
|
||||
</define>
|
||||
<define name="diskSerial">
|
||||
|
@ -8,9 +8,7 @@
|
||||
|
||||
<define name="poolName">
|
||||
<data type="string">
|
||||
<!-- Use literal newline instead of \n for bug in libxml2 2.7.6 -->
|
||||
<param name="pattern">[^/
|
||||
]+</param>
|
||||
<param name="pattern">[^/\n]+</param>
|
||||
</data>
|
||||
</define>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user