Description
-
-
- 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);
Attachments
Attachments
Issue Links
- duplicates
-
XALANJ-2112 Class Cast Exception in NodeSortRecord
- Open