[ 
http://issues.apache.org/jira/browse/XALANJ-2313?page=comments#action_12443031 
] 
            
Sergey Vladimirov commented on XALANJ-2313:
-------------------------------------------

There is one issue: XSLT will still throw fatal error later. But this error 
message will not contain enought information, as source one.

> XSLTC must reports about fatal error if can't compile
> -----------------------------------------------------
>
>                 Key: XALANJ-2313
>                 URL: http://issues.apache.org/jira/browse/XALANJ-2313
>             Project: XalanJ2
>          Issue Type: Bug
>          Components: XSLTC
>    Affects Versions: 2.7
>            Reporter: Sergey Vladimirov
>         Attachments: patch.txt
>
>
> XSLTC must reports about fatal error when can't compile code, not recoverable 
> error:
>     // Check that the transformation went well before returning
>     if (bytecodes == null) {
>         
>         ErrorMsg err = new ErrorMsg(ErrorMsg.JAXP_COMPILE_ERR);
>         TransformerConfigurationException exc =  new 
> TransformerConfigurationException(err.toString());
>         
>         // Pass compiler errors to the error listener
>         if (_errorListener != null) {
>             passErrorsToListener(xsltc.getErrors());
> Here should be passFatalErrorToListener or something.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to