Previous topic

Compatibility of Geometry Definitions

Next topic

Case Studies

This Page

Browser Compatibility IssuesΒΆ

One of the really nice features of the cansas1d format is that because it is XML it can be understood by any program that interprets XSLT, and this includes web browsers. It is no longer necessary to edit a file simply to see its contents!

However, some web browsers can behave differently. Here is what we know:

Internet Explorer

  • IS compatible with cansas1d.


  • IS compatible with cansas1d.


  • IS compatible with cansas1d but only under specific conditions.
  • In developing Chrome, Google decided to adopt a security model known as 'same-origin'. This actively prevents the browser from opening XML/XSL files over http:// connections, including the cansas1d stylesheet cansas1d.xsl.
  • Fortunately, there is a workaround: run Chrome with the switch '--allow-file-access-from-files'.
  • To do this in Windows:
    • 1. Unpin any instance of Chrome from the taskbar and/or delete any existing shortcuts to Chrome.
    • 2. Click the Start button and locate Google Chrome under All Programs.
    • 3. Right-click on Google Chrome and select Properties.
    • 4. Edit the Target box to append the switch to the text string; eg: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --allow-file-access-from-files
    • 5. Click Apply and Ok (NB: you may need Administrator permission to do this).
    • 6. Right-click on Google Chrome again and re-pin it to the taskbar or create a new shortcut.

NB: You can use the shortcut Ctrl-O to bring up an Open File dialog in any of these browsers.