Subject:SS4.5 103n Crash: doing stuff with SVG Author:Lee Humphries Date:17 Feb 2003 06:20 PM
I just got the crash doing the following:
I have a modified version of the xs3p XSLT to produce documentation of XSDs. It is set up to look for SVG versions of the graphic images, open them with the document function and extract their maximum dimensions.
I had deliberately deleted the SVG files so that the XSLT wouldn't find them and then I ran the XSLT first with the internal processor then with MSXMl 4.
Both processors reported an error however after clearing the MSXML 4 error the resultant HTML was still displayed in the Preview window. A Javascript error was thrown which I cleared then I moved my mouse over the preview window and Stylus crashed.
Subject:Re: SS4.5 103n Crash: doing stuff with SVG Author:Lee Humphries Date:18 Feb 2003 06:23 PM
No - I've tried that already - I've installed the latest version of Adobe's SVG plug-in and the SVG is resolved and presented in the preview window in Stylus.
Here's a question related to what I was doing with all of this:
What should the behaviour be when the document function can't find the document it's looking for?
The XSLT spec states "If there is an error retrieving the resource, then the XSLT processor may signal an error; if it does not signal an error, it must recover by returning an empty node-set." - But I haven't yet seen any processors that just do the later option i.e. ignore the problem and return an empty node-set. Which as far as I can see would be preferable in the majority of circumstances.