mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 23:07:44 +00:00
build: fix text regression
Commit 8a09ee410
tickles a bug in libxml2-2.7.6 on RHEL 6.2,
where libxml2 treats the pattern [^\n] as excluding literal
backslash and n, instead of the intended newline, thus failing
to validate any domain name containing 'n'.
* docs/schemas/domaincommon.rng: Use literal newline instead.
This commit is contained in:
parent
b303465d2f
commit
c3c2cc6534
@ -3058,7 +3058,9 @@
|
|||||||
</define>
|
</define>
|
||||||
<define name="domainName">
|
<define name="domainName">
|
||||||
<data type="string">
|
<data type="string">
|
||||||
<param name="pattern">[^\n]+</param>
|
<!-- Use literal newline instead of \n for bug in libxml2 2.7.6 -->
|
||||||
|
<param name="pattern">[^
|
||||||
|
]+</param>
|
||||||
</data>
|
</data>
|
||||||
</define>
|
</define>
|
||||||
<define name="diskSerial">
|
<define name="diskSerial">
|
||||||
|
Loading…
Reference in New Issue
Block a user