W3C home > Mailing lists > Public > www-math@w3.org > January 2003

RE: Problems with MathML stylesheet example

From: Peter Wolfenden <pwolfenden@qualys.com>
Date: Mon, 6 Jan 2003 09:16:34 -0800
Message-ID: <7B8781C083636843B71E6275E4B229BAF8DE9C@mail1.corp.qualys.com>
To: "David Carlisle" <davidc@nag.co.uk>
Cc: <www-math@w3.org>

David,

Thanks for the RTFM :-|

>>  Access is denied. Error processing resource
>>  'http://www.w3.org/Math/XSL/mathml.xsl'.
>
> As noted in the documentation at http://www.w3.org/Math/XSL/
> IE consiers it a security violation for am xml file on one
> server to reference a stylesheet on another

Right. Since this was explained in the documentation, I noted
that this was "expected behavior".

> so you have to copy the .xsl files to  your server and then
> use a local reference in the stylesheet processing
> instruction in your document.

That's exactly what I had done. Which, as I indicated in my
note, was still giving me errors.

The problem in my case was that copying the contents of the
XSL files from an IE window and pasting them into text files
on my webserver was mangling them in some obvious ways (easily
remedied with a text editor) and some less obvious ways (which
I had missed). This was silliness on my part, and the problem
would have been obvious if I'd had some method other than asking
IE to render my XML examples for validating the XSL docs.

All I needed to do was download the stylesheets as files instead
of asking my browser to render them, and all my problems went
away.

Cheers,

    Peter
Received on Monday, 6 January 2003 12:17:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:12:52 GMT