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

--- Comment #6 from Armin Le Grand <[email protected]> 2012-01-11 09:36:31 
UTC ---
ALG->Regina: Thanks for the hint, very useful. I already looked at that
definitions. I formally used the following checks (for the first 256 bytes):

- 'DOCTYPE' is part of it
- 'svg' is part of it

I now modified to use:

- '<?xml' -> identify as Xml at all
- 'version' -> also Xml, but also Svg
- 'www.w3.org' -> has to do with w3, part of Svg namespace definition
- '<svg' -> contains (at least) one Svg node

Comments?

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