Revision 1afc7e1b
Added by Michael Kay over 13 years ago
latest8.9/bj/net/sf/saxon/Configuration.java | ||
---|---|---|
2440 | 2440 |
} |
2441 | 2441 |
config.setXIncludeAware(((Boolean)value).booleanValue()); |
2442 | 2442 |
|
2443 |
} else if (name.equals(FeatureKeys.XML_VERSION)) { |
|
2443 |
} else if (name.equals(FeatureKeys.XML_VERSION) || name.equals("http://saxon.sf.bet/feature/xml-version")) {
|
|
2444 | 2444 |
if (!(value instanceof String && (value.equals("1.0") || value.equals("1.1")))) { |
2445 | 2445 |
throw new IllegalArgumentException( |
2446 | 2446 |
"XML_VERSION value must be \"1.0\" or \"1.1\" as a String"); |
... | ... | |
2525 | 2525 |
} else if (name.equals(FeatureKeys.XINCLUDE)) { |
2526 | 2526 |
return Boolean.valueOf(config.isXIncludeAware()); |
2527 | 2527 |
|
2528 |
} else if (name.equals(FeatureKeys.XML_VERSION)) { |
|
2529 |
return (config.getXMLVersion() == XML10 ? "1.0" : "1.1"); |
|
2530 |
|
|
2528 | 2531 |
} else { |
2529 | 2532 |
throw new IllegalArgumentException("Unknown attribute " + name); |
2530 | 2533 |
} |
latest8.9/bj/net/sf/saxon/FeatureKeys.java | ||
---|---|---|
215 | 215 |
*/ |
216 | 216 |
|
217 | 217 |
public static final String XML_VERSION = |
218 |
"http://saxon.sf.bet/feature/xml-version";
|
|
218 |
"http://saxon.sf.net/feature/xml-version";
|
|
219 | 219 |
|
220 | 220 |
|
221 | 221 |
private FeatureKeys() { |
latest8.9/bj/net/sf/saxon/Version.java | ||
---|---|---|
6 | 6 |
|
7 | 7 |
public final class Version { |
8 | 8 |
|
9 |
private static final int[] STRUCTURED_VERSION = {8,9,0,4};
|
|
10 |
private static final String VERSION = "8.9.0.4";
|
|
11 |
private static final String BUILD = "062523"; //mmddhh
|
|
12 |
private static final String RELEASE_DATE = "2007-06-26";
|
|
9 |
private static final int[] STRUCTURED_VERSION = {8,9,0,5};
|
|
10 |
private static final String VERSION = "8.9.0.5";
|
|
11 |
private static final String BUILD = "091210"; //mmddhh
|
|
12 |
private static final String RELEASE_DATE = "2007-09-12";
|
|
13 | 13 |
|
14 | 14 |
private Version() { |
15 | 15 |
// class is never instantiated |
Also available in: Unified diff
Fix bug 1798687. Also rolls the version number forward anticipating the next maintenance release.