G
Guest
When I try to open a jpg file using a javascript's window.open command
(inside a virtual directory), IE6 is trying to open the file as an XML file.
The jpg file has its Comment field (metadata) filled with text in an xml
format, for example:
<?xml version="1.0" ?>
<photo>
<id>123</id>
<description>soccer match</description>
</photo>
The error doesn't appear if I remove this metadata comment, and neither
appears if I drag and drop the jpg file on Windows Explorer to IE6.
Besides, the jpg file is well conformed (including metadata), no error
apppears when I open the image with Photoshop.
Why IE6 is having this behaviour?
Thanks in advance,
Ray
(inside a virtual directory), IE6 is trying to open the file as an XML file.
The jpg file has its Comment field (metadata) filled with text in an xml
format, for example:
<?xml version="1.0" ?>
<photo>
<id>123</id>
<description>soccer match</description>
</photo>
The error doesn't appear if I remove this metadata comment, and neither
appears if I drag and drop the jpg file on Windows Explorer to IE6.
Besides, the jpg file is well conformed (including metadata), no error
apppears when I open the image with Photoshop.
Why IE6 is having this behaviour?
Thanks in advance,
Ray