incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 118728] linked svg graphic looses link
Date Thu, 12 Jan 2012 13:08:30 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=118728

--- Comment #9 from Armin Le Grand <Armin.Le.Grand@me.com> 2012-01-12 13:08:30 UTC ---
ALG: You are correct, I stubled already over files with lot of comment text
where '<svg' was outside the 1st 256 bytes. I have now changed to do the
following:

(1) if(check('<?xml', 256) && check('version', 256)))
(2)   if(check('DOCTYPE', 256) && check('svg', 256))
(3)   else if(check('<svg', 256))
(4)   else if(check('<svg', fullsize))
(5)     is_svg;

Seems okay and handles all cases I stumbled upon. If 1-3 fails, evtl. the full
file is checked, but should happen very rarely.

-- 
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.

Mime
View raw message