Forum Moderators: open

Message Too Old, No Replies

[SVG] Import raster image + validation problems

         

sarka86

8:14 am on May 4, 2008 (gmt 0)

10+ Year Member



Good morning everybody!

Can someone tell me how to import a raster image in a svg file?
Which tag should I use?

And then:
I installed Adobe SVG viewer on IE 6. I can see correctly svg files, also animations. Unfortunately when I try to view and html page that embeds svg via object tag the loading of the page stops at that tag.

If I embed the image via iframe it works correctly, but the page is not validate because iframe is not used anymore.
On Mozilla I can see everything correctly, except animations!

How can I embed a svg with animation in a html, view it properly with IE and let the page be validated?

Thank you for your attention!

penders

4:36 pm on May 4, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



If I embed the image via iframe it works correctly, but the page is not validate because iframe is not used anymore.

Not an answer to your sepcific query, but I don't think the IFRAME is deprecated as such as it has never been part of the Strict document type. It has only ever been available under a loose/transitional DOCTYPE - and still is.

tedster

6:37 pm on May 4, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Both HTML 4.01 and XHTML 1.0 have three DTDs: transitional, strict and frameset. The iframe element is valid with either one of the frameset DTDs -

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

reference: [w3.org...]

penders

10:33 am on May 12, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



The iframe element is valid with either one of the frameset DTDs

Yes, but also either one of the Transitional DTDs. In fact I would have said it was far more common to see the iframe element used with a Transitional DOCTYPE since an iframe element can be placed in a non-framed document (ie. no frameset) and you can't have a Frameset DOCTYPE on a non-framed document. An iframe can only appear within the noframes section of a Frameset document which kinda defeats the object IMO.

On the W3C list of HTML elements [w3.org] it lists the iframe as being part of the Loose DTD (Transitional), no mention of Frameset DTD?