- Timestamp:
- 2020-06-14T18:57:38+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetReader.java
r16179 r16640 65 65 "application/xml, text/xml, text/plain; q=0.8, application/zip, application/octet-stream; q=0.5"; 66 66 67 /** 68 * The XML namespace for the tagging presets 69 * @since 16640 70 */ 71 public static final String NAMESPACE = Config.getUrls().getXMLBase() + "/tagging-preset-1.0"; 72 73 /** 74 * The internal resource URL of the XML schema file to be used with {@link CachedFile} 75 * @since 16640 76 */ 77 public static final String SCHEMA_SOURCE = "resource://data/tagging-preset.xsd"; 78 67 79 private static volatile File zipIcons; 68 80 private static volatile boolean loadIcons = true; … … 183 195 184 196 if (validate) { 185 parser.startWithValidation(in, Config.getUrls().getXMLBase()+"/tagging-preset-1.0", "resource://data/tagging-preset.xsd");197 parser.startWithValidation(in, NAMESPACE, SCHEMA_SOURCE); 186 198 } else { 187 199 parser.start(in);
Note:
See TracChangeset
for help on using the changeset viewer.