https://issues.apache.org/ooo/show_bug.cgi?id=118728

--- Comment #8 from Regina Henschel <[email protected]> 2012-01-11 
20:39:17 UTC ---
If the document has a Doctype declaration, it is possible, that '<svg' is not
inside the first 256 bytes. This happens, because it is allowed that a Doctype
contains an internal DTD subset. Such an example is given in chapter "3.2.  SVG
as the Host Language" in http://www.w3.org/TR/XHTMLplusMathMLplusSVG/.

Therefore the simple test '<svg' might fail.
Perhaps a combining test with '<svg' || ('DOCTYPE' && 'svg') is safer.

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Reply via email to