[Bug 27544] SVG images that are invalid XML no longer rendered

2011-03-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

--- Comment #26 from Derk-Jan Hartman hart...@videolan.org 2011-03-15 
07:46:42 UTC ---
Yes, I believe both of those are known issues, and filed somewhere under the
depends of ticket #8901

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-03-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

Rainald Koch rainald.k...@t-online.de changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 CC||rainald.k...@t-online.de
 Resolution|WONTFIX |

--- Comment #23 from Rainald Koch rainald.k...@t-online.de 2011-03-14 
20:11:42 UTC ---
I had problems uploading an svg which passed the W3C validator without any
comment and also the validator on the toolserver parsed it correctly and gave
no hints. The error message on upload was wrong MIME type (in german).

It took me two evenings to learn that the problem had to do with namespaces (i
had given svn but failed to add xlink).

The validator on the toolserver should be in line with the checks done on
upload and the error message should be more informative.

File:FMCW Doppler radar.svg

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-03-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

Derk-Jan Hartman hart...@videolan.org changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||WONTFIX

--- Comment #24 from Derk-Jan Hartman hart...@videolan.org 2011-03-14 
20:17:00 UTC ---
We already have bug #27537 for the issue with the error message. I don't see it
happening that we are gonna support files anytime soon that are not
namespace-well-formed, so reclosing.

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-03-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

--- Comment #25 from Rainald Koch rainald.k...@t-online.de 2011-03-14 
23:46:46 UTC ---
Reclosing is ok, I reopened it only to be heard and appreciating the decision
of Brian to exclude files which are not namespace-well-formed.

Thank you for the hint at bug #27537.

Do you also know, whether the two bugs of the png renderer which show up with
my svg are already registered? As svg, it is displayed as expected, but all the
pngs of different size ...

- do not show the indices (tspan
style=baseline-shift:sub;font-size:0.85emD/tspan)

- ignore the positioning baseline-shift=-30%

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-02-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

--- Comment #18 from Brion Vibber br...@pobox.com 2011-02-21 18:18:05 UTC ---
I got a little lost reading the backscroll here, but let me just summarize the
expected behavior:

* invalid[1] SVG file MUST be rejected on upload
* invalid[1] SVG file that's already existing SHOULD be rejected from
rendering, but if it does render it's not the end of the world.

[1] by invalid I mean one or more of the following is true:
* not well-formed XML (ie, any error is thrown by XML parser)
* not well-formed namespaces (ie, an error is thrown by namespace-aware XML
parser about inconsistent or undeclared namespaces)
* root element isn't svg with expected namespace
* anything in the file violates our generic or SVG-specific safety checks

Non-rendering of broken files is not a bug; it's expected behavior. Affected
files should be fixed.

New files being uploaded that do not pass the validation checks *is* a bug, if
it's happening. Failure to live through our XML/SVG-specific checks MUST NOT be
overridden by some other generic check.

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-02-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

--- Comment #19 from Bryan Tong Minh bryan.tongm...@gmail.com 2011-02-21 
18:24:46 UTC ---
(In reply to comment #18)
 Failure to live through our XML/SVG-specific checks MUST NOT be
 overridden by some other generic check.

The best way to fix this is to split the valid and wellformedness check.
Wellformed but invalid XML should be marked application/xml.

Unwellformed and invalid XML should never be marked application/xml or any XML
subtype, even of if the PHP file info extension recognizes it as such.

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-02-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

Mark A. Hershberger m...@everybody.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX

--- Comment #20 from Mark A. Hershberger m...@everybody.org 2011-02-21 
18:32:26 UTC ---
Since the only identified files are missing namespace declarations, and taking
what seems to be the consensus of developers here into consideration, I'm
closing this as WONTFIX -- the identified files should be fixed and
re-uploaded.

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-02-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

--- Comment #21 from Brion Vibber br...@pobox.com 2011-02-21 20:25:05 UTC ---
Just a terminology clarification: what we're checking for well-formedness here
including the namespaces is called namespace-well-formedness, and is again
not related to what XML terms validity, which we never check for.

http://www.w3.org/TR/REC-xml-names/#Conformance

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-02-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

Aryeh Gregor simetrical+wikib...@gmail.com changed:

   What|Removed |Added

 CC||Simetrical+wikibugs@gmail.c
   ||om

--- Comment #22 from Aryeh Gregor simetrical+wikib...@gmail.com 2011-02-21 
23:46:25 UTC ---
Although maybe we should define a subset of SVG using our own DTD, excluding
script elements and attributes, and test for validity using that DTD.  That
would be a very easy way to do whitelist-based security, which makes me feel
happier than the current blacklist-based approach.  Are we really sure that all
JS-activating attributes start with on, and that no element will allow script
if it's not named script?  (But that's a separate issue.)

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-02-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

--- Comment #5 from Derk-Jan Hartman hart...@videolan.org 2011-02-19 08:41:56 
UTC ---
we didn't use the xmlreader pull parser before. I swithed the whole thing from
XmlTypeCheck to SVGReader in r75968

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-02-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

--- Comment #6 from Derk-Jan Hartman hart...@videolan.org 2011-02-19 09:04:17 
UTC ---
i don't have the problem at home btw, so I guess the XMLReader version
installed on wikimedia servers behaves different from the one I have installed.

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-02-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

--- Comment #7 from Derk-Jan Hartman hart...@videolan.org 2011-02-19 09:19:47 
UTC ---
Seems to me that the WMF version of XMLReader is validating the file, while as
far as I know, that is not the default mode of XMLReader.

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-02-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

--- Comment #8 from Derk-Jan Hartman hart...@videolan.org 2011-02-19 09:20:05 
UTC ---
Created attachment 8170
  -- https://bugzilla.wikimedia.org/attachment.cgi?id=8170
example file

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-02-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

--- Comment #10 from Bryan Tong Minh bryan.tongm...@gmail.com 2011-02-19 
14:17:37 UTC ---
$this-reader-setParserProperty( XMLReader::VALIDATE, false ); would
presumably fix it.

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-02-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

--- Comment #11 from Derk-Jan Hartman hart...@videolan.org 2011-02-19 
14:22:10 UTC ---
like i said, false should be the default value anyways. At least from what I
understand. but we could run a test on wmf servers i guess to make sure.

/me has no access.

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-02-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

--- Comment #12 from Derk-Jan Hartman hart...@videolan.org 2011-02-19 
16:22:58 UTC ---
summary, on wmf servers, guessMimeType returns 'application/xml' instead of
'image/svg+xml'. guess mimetype calls doGuessMimeType(), which will call
XmlTypeCheck()

$xml = new XmlTypeCheck(
'http://bug-attachment.wikimedia.org/attachment.cgi?id=8170' );
var_dump( $xml-wellFormed );

shows the wmf servers as evaluating wellFormed to false. This is not correct
btw, for most of these files, since most are only invalid but are wellformed,
this is a bug in XmlTypeCheck().

Actually, on my own server it even always evaluates to false, but later parts
apparently pick up the slack.

MimeMagic::doGuessMimeType: analyzing head and tail of
/private/var/tmp/phpwMVYQ7 for magic numbers.
DjVuImage::getInfo: not a DjVu file
MimeMagic::guessMimeType: internal type detection failed for
/private/var/tmp/phpwMVYQ7 (.)...
MimeMagic::detectMimeType: magic mime type of /private/var/tmp/phpwMVYQ7:
image/svg+xml
MimeMagic::guessMimeType: guessed mime type of /private/var/tmp/phpwMVYQ7:
image/svg+xml
MimeMagic::improveTypeFromExtension: improved mime type for .svg: image/svg+xml
File::getPropsFromPath: /private/var/tmp/phpwMVYQ7 loaded, 5266 bytes,
image/svg+xml.


Internal type detection failed, indicates that doGuessMimeType() has returned
false and detectScript() takes over and selects image/svg+xml for me, but
apparently not on the WMF installation.

I guess in 1.16 something was correcting for this issue for wmf as well, but
now no more...

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-02-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

--- Comment #13 from Bryan Tong Minh bryan.tongm...@gmail.com 2011-02-19 
17:11:13 UTC ---
detectMimeType uses one of the mime detection PHP extensions. I don't see any
changes between 1.16 and 1.17 that would explain the difference.

The bug is with XmlTypeCheck though. xml_parse() returns an error for both an
invalid as an unwellformed document, whereas we only want an error on an
unwellformed document.

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-02-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

--- Comment #14 from Derk-Jan Hartman hart...@videolan.org 2011-02-19 
17:37:45 UTC ---
two options, rewrite to XMLReader, or set XmlTypeCheck to ignore namespaces all
together. Implications of the latter not fully understood yet. Best consult
Brion or Tim on this, esp. since brion originally added 

http://svn.wikimedia.org/viewvc/mediawiki?view=revisionrevision=30603

and

http://www.mediawiki.org/wiki/Special:Code/MediaWiki/43627

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-02-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

--- Comment #15 from Mark A. Hershberger m...@everybody.org 2011-02-19 
17:41:42 UTC ---
(In reply to comment #9)
 I'm not too familiar with XML, but does that mean that the DTD is fetched from
 w3.org every time an SVG file is viewed?

No.  The URIs in xmlns attributes are not meant to be resolved and fetched. 
Often, they can be, since the http schema is used and people DTD at that
address.  But it is only meant to serve as a unique identifier, not a resource
to be retrieved.

In practice, though, some (poorly written) validators do attempt to fetch the
resource every time.

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-02-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

Mark A. Hershberger m...@everybody.org changed:

   What|Removed |Added

 Blocks||26676

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-02-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

--- Comment #16 from Bryan Tong Minh bryan.tongm...@gmail.com 2011-02-19 
22:28:31 UTC ---
To clarify, for people who have not followed the IRC discussion:
* The original assumption that the non-rendering of certain SVGs was caused by
the new SvgMetadataExtrator was false.
* MimeMagic::doGuessMimeType uses XmlTypeCheck to detect the mime type; this
fails because XmlTypeCheck::wellFormed is set to false when the SVG is
non-validating instead of non-wellformed
* For me and Derk-Jan, the fileinfo pecl extension then detects the file as
image/svg+xml anyway, but at Wikimedia it is detected as application/xml

XmlTypeCheck must be fixed to only check wellformedness.
Additionally, it would be interesting why at Wikimedia there is a difference
between 1.16 and 1.17.

A suggested approach for fixing XmlTypeCheck would be to change
xml_parse_create_ns() into xml_parse_create(), but somebody who understands Xml
properly needs to look at that.

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-02-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

--- Comment #17 from Mark A. Hershberger m...@everybody.org 2011-02-19 
22:48:38 UTC ---
See r43627 for where Brion forces the use of xml_parser_create_ns() instead of
allowing xml_parser_create(). Thinking this is too picky per the bug.

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-02-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

Reedy s...@reedyboy.net changed:

   What|Removed |Added

Summary|SVG images that are invalid |SVG images that are invalid
   |XML no longer render|XML no longer rendered

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-02-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

Raimond Spekking raimond.spekk...@gmail.com changed:

   What|Removed |Added

 CC||raimond.spekk...@gmail.com
 Blocks||27339

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-02-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

Mark A. Hershberger m...@everybody.org changed:

   What|Removed |Added

 CC||m...@everybody.org

--- Comment #1 from Mark A. Hershberger m...@everybody.org 2011-02-18 
20:28:01 UTC ---
I would recommend falling back, but it would be good to have an example of
those that are a problem before making a final decision.

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-02-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

--- Comment #2 from Bryan Tong Minh bryan.tongm...@gmail.com 2011-02-18 
20:28:43 UTC ---
http://commons.wikimedia.org/wiki/File:Tinizong-Rona_wappen.svg

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-02-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

--- Comment #3 from Mark A. Hershberger m...@everybody.org 2011-02-18 
20:39:42 UTC ---
This should be fixed.  I understand why that one doesn't display, but errors
like that (undeclared, but well-known namespaces), shouldn't cause a problem
with display.

Would it be possible to let users know at upload time that they have provided
invalid XML and that it should be fixed?  Could we do that *and* display
already-uploaded images like that one?

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27544] SVG images that are invalid XML no longer rendered

2011-02-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

Rob Lanphier ro...@wikimedia.org changed:

   What|Removed |Added

 CC||ro...@wikimedia.org

--- Comment #4 from Rob Lanphier ro...@wikimedia.org 2011-02-19 04:37:54 UTC 
---
This one may be a little beyond our control, unless we want to maintain a
custom, non-compliant XML parser.  The XML specification forbids compliant
implementations from doing anything but failing spectacularly, and most decent
XML parsers follow the rules.

I don't know exactly what change triggered the new behavior (did we switch
implementations?), but I think we're better off encouraging a cleanup of the
existing images rather than implementing a fallback strategy.

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l