Changes between Version 7 and Version 8 of Ticket #4421, comment 35
- Timestamp:
- 2012-03-06T12:51:01+01:00 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4421, comment 35
v7 v8 8 8 We have no JS engine in JOSM currently and it will be not me who can add and maintain it :) (there is working Scripting plugin, by the way) 9 9 10 XPath is also not so well-known for writers of configuration files :). I cannot include support for advanced XML processing now, because XML-fragments with preferences are parsed by Preferences class and then all modifications are done for Java objects, not XML. Only some preprocessor can be called (like XSLT for whole preferences.xml or matching tags ), but it can not help in complex cases.10 XPath is also not so well-known for writers of configuration files :). I cannot include support for advanced XML processing now, because XML-fragments with preferences are parsed by Preferences class and then all modifications are done for Java objects, not XML. Only some preprocessor can be called (like XSLT for whole preferences.xml or matching tags - say if it is needed), but it can not help in complex cases. 11 11 12 12 So I tried to make a simple copy-paste-style language with limited number of commands (for partial import/export, not for scripting - I started from shortcut schemas), which I can document and support. "<if>" and var were introduced only to ask "which style dou you prefer?" and similar questions.