Project

Profile

Help

Revision 898fd89a

Added by O'Neil Delpratt over 7 years ago

Bug fix relating to issue #2051

View differences:

latest9.5/hej/net/sf/saxon/Configuration.java
3808 3808
            setXIncludeAware(requireBoolean(name, value));
3809 3809

  
3810 3810
        } else if(name.startsWith(FeatureKeys.XML_PARSER_FEATURE)){
3811
             defaultParseOptions.addParserFeature(name, requireBoolean(name, value));
3811
             String uri = name.substring(FeatureKeys.XML_PARSER_FEATURE.length());
3812
             defaultParseOptions.addParserFeature(uri, requireBoolean(name, value));
3812 3813

  
3813 3814
        } else if (name.startsWith(FeatureKeys.XML_PARSER_PROPERTY)) {
3814
            defaultParseOptions.addParserProperties(name, requireString(name, value));
3815
            String uri = name.substring(FeatureKeys.XML_PARSER_PROPERTY.length());
3816
            defaultParseOptions.addParserProperties(uri, requireString(name, value));
3815 3817

  
3816 3818
        } else if (name.equals(FeatureKeys.XQUERY_ALLOW_UPDATE)) {
3817 3819
            getDefaultStaticQueryContext().setUpdatingEnabled(requireBoolean(name, value));
latest9.5/hej/net/sf/saxon/lib/FeatureKeys.java
24 24
 public abstract class FeatureKeys {
25 25

  
26 26
 public final static String XML_PARSER_FEATURE =
27
"http://saxon.sf.net/feature/parserFeature?uri";
27
"http://saxon.sf.net/feature/parserFeature?uri=";
28 28

  
29 29
public final static String XML_PARSER_PROPERTY =
30
"http://saxon.sf.net/feature/parserProperty?uri";
30
"http://saxon.sf.net/feature/parserProperty?uri=";
31 31

  
32 32
        
33 33
/**

Also available in: Unified diff