[ http://issues.apache.org/jira/browse/XALANJ-2156?page=all ]

Brian Minchau updated XALANJ-2156:
----------------------------------

    Fix Version: 2.7

> Instanciation of CollatorFactory in Xsltc fails
> -----------------------------------------------
>
>          Key: XALANJ-2156
>          URL: http://issues.apache.org/jira/browse/XALANJ-2156
>      Project: XalanJ2
>         Type: Bug
>   Components: XSLTC
>     Versions: 2.6
>     Reporter: Franz Fackelmann
>      Fix For: 2.7
>  Attachments: xalan-j_2_6_0-src-patch2.1-bug.zip
>
> *** Bug in org.apache.xalan.xsltc.dom.NodeSortRecord ***
> Method initialize() has a provision for instanciating a CollatorFactory object
> by reading property org.apache.xalan.xsltc.COLLATOR_FACTORY. Unfortunatelly 
> the
> instanciation of a given class always fails because the implementation is 
> wrong.
> The following patch (relative to NodeSortRecord.java,v 1.19) fixes the bug:
> 22d21
> < import java.text.CollationKey;
> 112c111
> <                 Object candObj = ObjectFactory.findProviderClass(
> ---
> >                 Class candClass = ObjectFactory.findProviderClass(
> 113a113
> >                 Object candObj = candClass.newInstance();
> 116a117,118
> >             } catch (Exception e) {
> >                 throw new TransletException(e);
>  

-- 
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