upCast 7.0.0 Build 1284 (Beta 4)
Release date: 2008-11-03
New Features
- [UPL] new function exists-var() to test if a variable is defined, working for both UPL and realm variables
- [UPL] new exception type EvalException, updated UPL documentation
- [RTF Importer] Add support for \soutlvl from OpenOffice (equivalent to RTF's \outlinelevel)
- [UPL] New functions: fs-copy, fs-move, fs-delete
Changes & Improvements
- UPL documentation: make clear we use conditional-AND and conditional-OR in selectors
- [RTF Exporter] Outputting char to RTF will only look in specified fallback fonts, not in all fonts in the standard fonts list. The latter takes the possibility to have only certain fallback fonts specified, but then rely on Unicode+?-replacement construct, which may be desirable in most cases.
- allow specifying symbolic message constants (not just - possibly changing in the future - numbers) in pipeline settings and UPL's get-log-messages() function
- upCast now requires Java 5
- parsing rgba() color values added
- disable Simple View input fields while the pipeline executes. Re-enable after stop or end of execution.
- now logging absolute destination path for export modules (instead of specified one, which might be relative)
- changed default module termination level from FATAL to ERROR
- [RTF Importer] TOC handling: now moved to extflow element collection and generating a contentref element, also deleting first paragraph in TOC when it is empty (which is an artifact of upCast's handling of the Word generated RTF in that situation)
Fixes
- RunPipeline did not report conversion error messages to console
- [UPL] set-attr() on elements in null namespace throws NPE
- [UPL] improve error message when acessing realm variables without their namespace prefix being properly declared
- [UPL] there was no distinction between null (the value) and null (the "undefined" indicator) when accessing realm variables
- [Documentation] standard font configuration: wrong syntax spec
- [Documentation] fix examples in UPL spec and manual with regard to namespace usage
- [UPL] eval-xpath() with XPath targeting synthesized attributes (css:*, ...) did throw a NPE
- [UPL] markup-regex() problem when an empty group matches at end of string (too many matches reported)
- [UPL] run-module() did not throw when error occurred, e.g. when using extpipeline and that terminates based on error condition within one of its modules
- fixed a possible NPE in de.infinityloop.upcast.modules.impl.util.XMLExporterBase.makeAttributes
- fix generating of heading elements in upCast pipeline template
- [RTF Importer] fix possible NPE in HYPERLINK fields with an empty URL value
- [RTF Importer] fix NPE when internal document is empty
- [UPL] >= operator worked like <=