Closed Bug 506915 Opened 16 years ago Closed 16 years ago

Output with mediatype and SVG doesn't work properly

Categories

(Core Graveyard :: XForms, defect)

x86
Windows XP
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tangui.lepense, Assigned: imphil)

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729) When the mediatype attribute of an output element is used with an svg image and its mime-type image/svg+xml, the image is not displayed. However, it is displayed when used with the application/xhtml+xml mediatype. Reproducible: Always Steps to Reproduce: 1. display the attached Xhtml document Actual Results: The first output doesn't display the svg SVG image. The second output does. Expected Results: The opposite
I believe that application/xhtml+xml is the only mediatype that we currently support for xf:output. Thanks for the testcase.
Attached patch fix itSplinter Review
The fix is fairly easy, see the attached patch.
Assignee: nobody → mail
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #391180 - Flags: review?(aaronr)
Comment on attachment 391180 [details] [diff] [review] fix it String restriction seems logical to me, but Alex didn't put a string type restriction on xhtml and output when he did that patch for bug 316817. Might want to ask him for the second review in case there was a reason he didn't do that (the typelist stuff could have come in after his patch, for example)
Attachment #391180 - Flags: review?(aaronr) → review+
Attachment #391180 - Flags: review?(surkov.alexander)
Attachment #391180 - Flags: review?(surkov.alexander) → review+
Comment on attachment 391180 [details] [diff] [review] fix it I think it is ok to bind this binding to string types only since we expect the string.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
checked into FF3 (cvs) for philipp
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: