When exporting bitmap graphics, there's an option to Preview in Browser.
The problem is that that function produces a slightly[1] non-standard URL of the sort:
file://c|/DOCUME~1/Brian/LOCALS~1/Temp/xar3A4C.htm
Now, if Internet Explorer is the default browser, it actually changes the URL to:
C:\Documents and Settings\Brian\Local Settings\Temp\xar3A4C.htm
If a Mozilla-based browser (say, FireFox) is the default browser, it also displays the exported graphic, although it changes the URL to:
file:///c|/DOCUME~1/Brian/LOCALS~1/Temp/xar3A4C.htm
before it displays it.
However, if Opera is the default browser, it makes no modifications[2] to the URL and thus cannot resolve it.
If Xara changed the exported URL to the RFC-standard form of:
file:///c:/DOCUME~1/Brian/LOCALS~1/Temp/xar3A4C.htm
that would mean that ALL browsers could find the URL.
--- Footnotes -----
1. By 'slightly non-standard', I actually mean that it directly contravenes RFC 1738 - the Internet Standard on Uniform Resource Locators (URL), which says:
"A file URL takes the form:
file://<host>/<path>
where
<host> is the fully qualified domain name of the system
on which the <path> is accessible, and
<path> is a hierarchical directory path of the form
<directory>/<directory>/.../<name>."
It also says:
"As a special case, <host> can be the string "localhost" or the empty string; this is interpreted as `the machine from which the URL is being interpreted'."
So, from Xara, either:
file:///c:/DOCUME~1/Brian/LOCALS~1/Temp/xar3A4C.htm
or:
file://localhost/c:/DOCUME~1/Brian/LOCALS~1/Temp/xar3A4C.htm
would be correct.
2. Actually, recent versions of Opera strip out the the pipe character | because it's deemed an 'unsafe character' by RFC 1738 (s2.2). Earlier versions of Opera didn't strip it out, but they still wouldn't display the graphic because the path part of the URL was still invalid.
----- End (pedantic) Footnote -----
Bookmarks