[ http://issues.apache.org/jira/browse/XALANJ-2112?page=comments#action_64380 ] Brian Minchau commented on XALANJ-2112: ---------------------------------------
There is a possiblility to provide your own collator factory by setting a system property, but if this is done you will get a class cast exception, so nobody can actually use this feature. The object returned here, candObj is a java.lang.Class type, so the cast to (CollatorFactory) will always throw a class cast exception. The Xalan-J committer meeting didn't think that this bug was of high importance, setting to fp4 per that meeting on May 3, 2005. > Class Cast Exception in NodeSortRecord > -------------------------------------- > > Key: XALANJ-2112 > URL: http://issues.apache.org/jira/browse/XALANJ-2112 > Project: XalanJ2 > Type: Bug > Components: XSLTC > Versions: CurrentCVS > Environment: win32 xp > Reporter: Dave Brosius > > In class: org.apache.xalan.xsltc.dom.NodeSortRecord > In method: public final void initialize(int node, int last, DOM dom, > SortSettings settings) > The following lines will cause a ClassCastException as a cast from > Class to CollatorFactory is attempted. > Object candObj = ObjectFactory.findProviderClass( > colFactClassname, ObjectFactory.findClassLoader(), true); > _collatorFactory = (CollatorFactory)candObj; -- 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]
