The following problems occurs using StylusStudio internal XALAN-J:
1. A JAVA-Exception is thrown.
   This is a serious problem.
   When Using the internal XALAN, the exception:
   "java.lang.ArrayIndexOutOfNoundsException:Array index out of range: 27"
   is thrown (see screenshot in error_message.png).
   Using XALAN as external processor, no exception is thrown.
2. The output via xsl:message is not OK.
   This is a minor problem.
   When using the internal XALAN-J, the output of xsl:message looks like:
   "at ; SystemID: file:///c:/Temp/STYLUS~1/TEST-P~1.XSL; Line#: 109; Column#: 26"
   When using the external XALAN, the correct output looks like:
   "file:///c:/Temp/StylusProblem/STYE3.xsl; Zeile #109; Spalte #26; NOTE in File FileName at Line LineNo Column ColNo, Element  : Begin preparing "

To test the behaviour, the attached project "PrepareTest.prj" defines 2 scenarios:
Intern - Using the internal XALAN-J
Extern - Using the same XALAN as external XALAN

I am using Stylus Studio version 5.1, build 173m,
JavaVirtualMachine 1.4.2_03-b02
on a MS-W2K system.
The "About Stylus Studio" is in the screenshot about_styuls_studio.png.


   