Project

Profile

Help

Revision 73dfb08f

Added by Michael Kay over 10 years ago

fix bug 3324577 IllegalArgumentException using JAXP TemplatesHandler

View differences:

latest9.3/hej/net/sf/saxon/TemplatesHandlerImpl.java
84 84

  
85 85
            final Configuration config = getConfiguration();
86 86
            CompilerInfo info = new CompilerInfo(config.getDefaultXsltCompilerInfo());
87
            info.setXsltVersion(nodeFactory.getXsltProcessorVersion());
87 88
            PreparedStylesheet sheet = new PreparedStylesheet(config, info);
88 89

  
89 90
            try {
latest9.3/hej/net/sf/saxon/Version.java
6 6

  
7 7
public final class Version {
8 8

  
9
    private static final int[] STRUCTURED_VERSION = {9,3,0,5};
10
    private static final String VERSION = "9.3.0.5";
11
    private static final String BUILD = "042114"; //mmddhh
12
    private static final String RELEASE_DATE = "2011-04-21";
9
    private static final int[] STRUCTURED_VERSION = {9,3,0,6};
10
    private static final String VERSION = "9.3.0.6";
11
    private static final String BUILD = "053110"; //mmddhh
12
    private static final String RELEASE_DATE = "2011-05-31";
13 13
    private static final String MAJOR_RELEASE_DATE = "2010-10-30";
14 14

  
15 15
    private Version() {
latest9.3/hej/net/sf/saxon/style/UseWhenStaticContext.java
251 251
                uri = getURIForPrefix(parts[0]);
252 252
            }
253 253
            StyleNodeFactory factory = getConfiguration().makeStyleNodeFactory();
254
            factory.setXsltProcessorVersion(getXPathLanguageLevel());
254 255
            return factory.isElementAvailable(uri, parts[1]);
255 256
        } catch (QNameException e) {
256 257
            XPathException err = new XPathException("Invalid element name. " + e.getMessage());

Also available in: Unified diff