https://bugs.freedesktop.org/show_bug.cgi?id=59642

--- Comment #13 from Mike Kaganski <mikekagan...@hotmail.com> ---
And by the way,

the testcase I mentioned in Comment 7 (Attachment 73352) have no <?xml?> in the
beginning, so this will make checks in line 319 to fail:

if (0 == strncmp( "<?xml",aBuffer,nSize))

According to [1], the XML declaration is optional, so the testcase is
well-formed. So I suppose, that the checks should be relaxed. However, this is
questionable, because it may give false positives. What do you think?

[1] http://www.w3.org/TR/2008/REC-xml-20081126/#sec-prolog-dtd

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to