For IE9 (and presumably IE10 as well), the HTML document has to have the
HTML5 doctype declaration:

 

<!DOCTYPE html>.

 

It should work just fine after that.

 

regards

David

 

From: [email protected] [mailto:[email protected]]
On Behalf Of krugerboy1971
Sent: Tuesday, March 13, 2012 7:42 AM
To: [email protected]
Subject: [svg-developers] ie9 and foreign namespace attributes

 

  

I've got an HTML document with some inline SVG

<svg id="mapWindow" xmlns="http://www.w3.org/2000/svg"; viewBox="79895.9
-55.7449 664697 664697">
<g xmlns:fme="http://www.safe.com/fme"; transform="translate(0,664586)
scale(1, -1)">
<path id="E06000027" fme:NAME="Torbay" d="M 292888,54358.5 L
290285...</path>
...</g>
...</svg>

I'm using the fme: namespace here to store the name of a polygon to save me
looking it up elsewhere - works fine everywhere except in IE9 which is not
recognising it. Elsewhere, I'd quite like to create attributes using this
namespace (e.g fme:Count) - again, works on other browsers except IE. Has
anybody got any suggestions for forcing IE9 to recognise this or do I need
to avoid foreign namespace attributes to ensure maximum browser
compatibility?





[Non-text portions of this message have been removed]



------------------------------------

-----
To unsubscribe send a message to: [email protected]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to