Closed Bug 288293 Opened 20 years ago Closed 20 years ago

Enable rendering of svg when root element=svg and xmlns=''

Categories

(Core :: SVG, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: lode_leroy, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050329 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050329 Firefox/1.0+

The FAQ for Mozilla/SVG says 
<blockquote>If there is a grey area above the source that says something like
"This XML file does not appear to have any style information associated with
it", then your problem is probably that you haven't given your root <svg> tag an
'xmlns' attribute or that the value you gave it contains an error. The correct
string is "http://www.w3.org/2000/svg".</blockquote>

I see many SVG files that do not specify the namespace. Would it be reasonable
to enable SVG rendering if the document type is "image/sgv+xml" (or "*/*+xml")
and the root node is "svg" and the namespace is either not specified or one of
the published svg namespaces (i.e. "http://www.w3.org/2000/svg" or
"http://www.w3.org/2000/svg-20000303-stylable" )?

Reproducible: Always

Actual Results:  
show xml code for svg file

Expected Results:  
show the rendered svg file

the acrobat plugin does this in in ff and ie AFAIK...
Marking invalid. See bug 275042.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Please file a bug against Adobe.
You need to log in before you can comment on or make changes to this bug.