Ticket Change Details
Dr. Changelog Complex XPath
- Change icomment to:
Dr. Changelog does not seem to recognize all XPath expressions.
For example, I have a changelog at http://www.videlibri.de/updates/changelog.xml and have set the following XPath for Dr. Changelog:
version = concat(substring(//build/@version, 1, 1), ".", substring(//build/@version, 2))
But it does not set the version.
The simpler XPath version = //build/@version is recognized, but I need to convert the integer version code 1234 to a end user version number 1.234.
Using the concat/substring functions seems to be the only way to do this conversion with XPath 1, so the expression looks slightly awkward.
Besides it would be much easier with XPath 2, since XPath 2 supports arithmetics like //build/(@version div 1000).
- Change login to "BeniBela"
- Change mimetype to "text/x-fossil-plain"
- Change severity to "Minor"
- Change status to "Open"
- Change title to "Dr. Changelog Complex XPath"
- Change type to "Code_Defect"