upCast 7.0.0 Build 1169
IMPORTANT NOTE on UPL implementation
In this release, handling of variables (both internal and in realms) as well as the signature of several UPL functions have incompatibly changed. The change was necessary to make the handling of namespaces more consistent. The most important changes are:
- namespace declarations are local to the file they appear in
- remove-attr() and detach-value() have been removed in favour of remove-attrs() and detach-values(). Both now take an Id as parameter, which can be also a pattern. To remove all attributes or values from en element resp. node, use the functions with no parameter.
- set-realm-value() and get-realm-value() have been removed. Access to variables in realms
is now accomplished by namespaced variable references. The namespace declarations to use are:
- for the
pipeline
realm: #namespace pipeline "http://www.infinity-loop.de/namespace/upcast-realm/pipeline";
- for the
module
realm: #namespace module "http://www.infinity-loop.de/namespace/upcast-realm/module";
- for the
javaproperty
realm: #namespace javaproperty "http://www.infinity-loop.de/namespace/upcast-realm/javaproperty";
- for the
application
realm: #namespace application "http://www.infinity-loop.de/namespace/upcast-realm/application";
pipeline
realm, instead ofget-realm-value( pipeline, "SourceFile" )
, you now simply write$pipeline:SourceFile
, assuming you have made the namespace declarations as above in your source file. - for the
NEW: DocBook 4.5 Article pipeline
This release includes a first version of a Word to DocBook 4.5 Article pipeline implementation. It is available
via the pipeline templates. Please report any problems you encounter. Compared to the implementation of the DocBook
export of upCast 5, this release supports a choice between HTML and CALS table model. It does not
(yet) support book
as a root element. The template currently opens in design mode; to run,
switch to UI mode by choosing View > Show Simple UI.
Bug fixes
Other fixes and changes:
- RTF Importer encoding problem fixed for documents having a different default encoding than CP 1252.
- Ant exporter: the fields for "Ant value for task's 'basedir' attribute" and "literal Ant code for <source> selection" now accept upCast variable references from the application (all variables) and pipeline (only ${pipeline:base}) realms.
- The encoding for the Symbol font has been updated.
- upCast could not be quit after trying to load an invalid license file