upCast RT 8.0 (Build 2094)
Release date: 2015-09-05
New features
- [UPL] New UPL function: xslt() UC-1261
- [UPL] Implement sourcefile-uri() function in UPL UC-1249
- [UPL] tokenize() for splitting up a string into a list of components at specified separators UC-1229
- [UPL] new signatures for caluclating min and max of a list of values: min( List ), max( List ) UC-1214
- [UPL] Facilitate binding to Java functions with native Java types using "javafunction" by coercing them back and forth to UPL types UC-1146
- [UPL] new UPL functions encode-for-uri() and decode-from-uri() UC-1141
- [UPL] UPL now also allows the combination of the two separate keywords
else if
instead of the keywordelseif
in an if-cascade UC-1140 - [UPL] Allow creating explicit blocks for scoping UC-1139
- [UPL] New function fs-exists() to determine if a FILE, FOLDER or ANY file system object actually exists at the specified path UC-1137
- [UPL] get-attr() with 3 new signatures to support XPath target selection and default (fallback) value UC-1126
- [UPL] New function: to-string( $num as Numeric, $numbase as Numeric ) UC-1123
- [UPL] New function: to-numeric( $s as String, $numbase as Numeric ) UC-1122
- [UPL] Add bitwise AND, OR, NOT, XOR to UPL functions for Numeric values of power 0 UC-1121
- [UPL] Implemented for
"""
-type and'''
-type verbatim strings constants UC-1101 - [UPL] Implement new list functions: distinct-values(), intersect(), except() UC-1063
- [CORE, EXPORTER] Unicode Translation Map: new options to define replacement of invalid XML (v1.0) characters; add dedicated log message UC-1194
- [CORE] XPath custom function extensions: node-before(), node-after(), is-ancestor(), is-descendant() UC-1186
- [CORE, UPL] New option for #set directive: groupQName UC-1183
- [CORE] is-same-node() XPath extension function UC-1181
- [CORE, UPL] XSLT function current() implemented for eval-xpath() UC-1180
- [CORE, UPL] new UPL function system-exec() UC-1170
- [CORE, UPL] html-to-image(): render HTML to a pixmap image UC-1134
- [CORE, UPL] Add function to extract a, or files from, a zip file UC-1127
- [IMAGING] extract baseline information for WMF files UC-1115
- [IMPORTER] optionally attach locator info to element nodes UC-1189
- [MODULE] Validator: allow redirecting validation messages to a file or a pipeline variable UC-1190
- [RTFI] add generic
uci:shape
anduci:shapegroup
elements for drawing shapes in RTF UC-814 - [UPL] New UPL function: <code>markup-style-with-roots()</code> UC-1152
Improvements
- [UPL] updated syntax highlighting UC-1104
- [UPL] Add a paint method that uses an XPath to select the target nodes for the painting UC-1075
- [CORE, PIPELINE, UPL] Store UPLValue objects natively in pipeline variable pool, coercing only lazily when needed UC-1131
- [CORE, RTFE, RTFI] Update table of defined language codes for RTF to rev 1.9.1 (RTF Spec) UC-1096
- [CORE, UPL] get-log-messages(): amend result list elements to include message number and separate out context and timestamp info UC-1092
- [GUI] Allow re-associating Parameter Set with its pipeline (if not looked up by Public ID) UC-1231
- [GUI] Don't ask to "copy license" when choosing one in a pipeline document, License tab UC-1198
- [GUI, UPL] UPL syntax highlighting: Directives colored inconsistently UC-1112
- [PIPELINE] Speedup RTF import by factor 2.5 UC-1084
- [RTFI] Support nested XE (index entry) fields UC-1279
- [RTFI] Log window remembers its open-state across application restarts UC-1259
- [RTFI] note marker text mismatch: include note text in error message as context info to better locate the issue in source document UC-1089
Changes
- [UPL] Support assigning 'null' to variables of any type UC-1135
- [CORE]
DiskFile.exists()
no longer compare case-sensitively on non-case-sensitive file systems UC-1240
Bugfixes
- [UPL] While variables of any type can still be assigned
null
,Null
is no longer an instance of any other type UC-1277 - [UPL]
uci:part
element lost when only thing between two tables UC-1270 - [UPL] Make
uci:part
a veritable inline item UC-1266 - [UPL] URL resolution for #include()s had issues UC-1263
- [UPL] Relative #include()s did not work within JARs UC-1260
- [UPL] infinite loop when doing replace-with-text() on a text node UC-1222
- [UPL]
forward-log-message()
throws UPL exception when called in top-level pipeline (i.e. there is no parent) UC-1215 - [UPL]
markup-style()
does not work as expected within a table cell UC-1193 - [UPL]
javafunction:...
does not work for functions that take parameters UC-1188 - [UPL] set-painter( $xpath, $color, $painters ) did not work (casting exception thrown) UC-1130
- [UPL] set-rulemode( "exit" ) does not work UC-1109
- [UPL] set-rulemode(): "jump:label" did not work as documented in the UPL manual UC-1108
- [UPL] replace-custom-...() now works as described UC-1098
- [UPL]
markup-style()
with two parameters did not work UC-1080 - [UPL]
value-at()
threw Exception when accessing invalid index, should return null (per documentation) UC-1061 - [API, CORE] When ucdocs passed via commandline parameters do not exist, no errors are reported UC-1068
- [CORE] Several characters in URL fragments and queries must not be quoted to keep URL functional with popular services like Vimeo and YouTube UC-1243
- [CORE] ':' (colon) in non-file-URLs or local paths are no longer turned into a '/' path separator character UC-1239
- [CORE, MODULE] Painters "start-end", "end-end" and "start-start" did not honour in-between markers in cases where start- and end-markers were placed on a single node. UC-1230
- [CORE]
fs-copy()
deletes source file when src and target are the same UC-1227 - [CORE, MODULE] Jaxen's document() function does not honor execution context's entity and URI resolver settings UC-1218
- [CORE, RTFE] CSS parsing errors on inline styles are reported as "external stylesheet" parsing errors UC-1207
- [CORE, UPL] relativize-uri() does not work correctly for folder URLs UC-1178
- [CORE, UPL] fs-create() does not create folder when using FOLDER-REPLACE and a folder doesn't already exist at that location UC-1175
- [CORE] Custom log writers do not flush their data during operation UC-1162
- [CORE, UPL] current-dateTime() incorrectly returns e.g. local German time (+0200) as UTC by specifying "Z" as timezone UC-1155
- [CORE, GUI] When saving an ucpar fails (e.g. insufficient access rights), no error dialog is shown and even the modified flag is cleared UC-1154
- [CORE, MODULE] Roundtripping XML through upCast loses default namespace attribute UC-1124
- [CORE]
insert-nodes()
: FIRST-CHILD and LAST-CHILD positions do not work UC-1087 - [CORE] Unit conversion to/from 'ex' and '%' was wrong UC-1060
- [CORE, PIPELINE] No ucdoc file format conversion path from unversioned to version 4 UC-1050
- [DISTRIBUTION, TEMPLATE] Suppress writing -ilx-word-style-id in "XHTML" template output UC-1065
- [DISTRIBUTION, TEMPLATE] Suppress writing -ilx-word-style-id in "upCast" template output UC-1048
- [DOCS, MODULE] Painter
start-start
does not work as documented UC-1144 - [DOCS, UPL] Document that #charset is not allowed in pipeline-internal UPL code UC-1113
- [DOCS, UPL] Some documentation bugs and omissions regarding "#set defaultRuleMode" and evaluation logic description UC-1110
- [DOCS, UPL] State that the context node of the UPL processor module (not: UPL tree processor!) is the document node UC-1073
- [DOCS, UPL] Wrong entry in operator matrix for "!=" and Lists: should be exists(AL op BL), not foreach(AL op BL) UC-1064
- [RTFE] Centered or right-aligned tables (i.e., margin-left: auto) were calculating wrong
\cellx
values UC-1256 - [RTFE] Nested tables do not retain their justification properties (left / center / right) UC-1255
- [RTFE] RTFE: fragment identifier in hyperlinks must quote " to not interfere with field syntax UC-1172
- [RTFE, RTFI] \titlepg was not supported, which made roundtripping documents with different first page header/footer impossible UC-1091
- [RTFE] List table calculation bug: 'preceding' value is calculated wrongly UC-1090
- [RTFE] CALS: colsep="1" does not work if set on spanned entry UC-1059
- [RTFE] CALS: a cell that spans up to the right border of a tgroup does not get set the table's border on its right edge UC-1058
- [RTFE] CALS: references to existing <spanspec>s cannot be resolved UC-1055
- [RTFE] CALS: adjacent tgroups in a table must not draw their outer borders according to their table's frame setting between them UC-1052
- [GUI, PIPELINE] Parameter set update on impl change resets parameter values to pipeline defaults instead of previous values (when compatible) UC-1150
- [GUI, PIPELINE] Error in pipeline param definition code (parsing error) does not show error message UC-1106
- [GUI, PIPELINE] Changing param config in ucdoc, then switching to already open ucpar wipes out all manual parameter settings UC-1026
- [GUI] Unsaved parameter edits in Parameter Set get lost when running requires a reload of the underlying pipeline implementation UC-676
- [IMAGING, RTFI] "No WMF substitute found for EMF" error issued though WMF is present UC-1145
- [IMPORTER] Tokenizer error is thrown during RTF import UC-1099
- [TEMPLATE] XHTML Template: Output mode was "html", should be "xhtml" for correct writing of empty elements like <br/> UC-1269
- [TEMPLATE] XHTML Template: Output resolution not propagated to renderer(s) UC-1268
- [TEMPLATE] "upCast" template: content of a footnote reference must not contain a upcast-NOTENUMBER gentext element UC-1051
- [RTFI] Report undefined fonts only for fonts used in document contents (not only in styledefs) UC-1280
- [RTFI] Issue dedicated error message when encountering nested XE destinations UC-1278
- [RTFI] RTF Importer must not generate tables that contain completely spanned (→ empty) rows UC-1275
- [RTFI] Some shape parameters mapped to non-XML Names UC-1274
- [RTFI] upCast throws a DataFormatException when for an OLE object in the RTF, the \*\objdata destination is empty UC-1267
- [RTFI] Outer table border missing in HTML+CSS result UC-1258
- [RTFI] NPE in Footnote Ref Optimizer when the target a NOTEREF filed refers to does not exist in the document UC-1251
- [RTFI] @uci:id must be a NCName, not a Name to be namespace-valid XML (i.e. must not contain colons) UC-1248
- [RTFI] Handling of nested INCLUDEPICTURE fields buggy UC-1246
- [RTFI] Paragraph (border) padding values were incorrectly interpreted as border style values UC-1244
- [RTFI] Nested HYPERLINK field in other field produces unexpected result UC-1238
- [RTFI] QUOTE field with instruction containing image not handled correctly UC-1225
- [RTFI] Footnote handling: Must ensure that single preceding character before {\footnote } is treated as and moved into <reference> UC-1220
- [RTFI] Paint attributes propagated to grouping parent in random insetad of the last value set on a node (in document order) UC-1216
- [RTFI] Distinct footnotes not separated when references wrapped by contigous run of "footnote reference" style UC-1213
- [RTFI] \*\pn destination does not honour \pnf font selection keyword for its character content UC-1205
- [RTFI] \fcharset1 translates (hard-coded) to code page 1252, but should translate to the default RTF document's codepage UC-1203
- [RTFI] Section break after a \listtext destination must result in discarding its contents and ignore it w/ respect to indicating a list item paragraph UC-1202
- [RTFI] Several issues regarding handling of "vertical-align" UC-1201
- [RTFI] Certain table code construction not handled correctly by RTF Importer UC-1197
- [RTFI] Handling of Word section breaks in field result destinations wrong UC-1196
- [RTFI] RTFI: vertical-align property not set correctly UC-1185
- [RTFI] List-building and item number counting algorithm flawed in RTF Importer UC-1177
- [RTFI] uci:block elements created by e.g. the grouper return wrong margin-xxx values when at top (body) level UC-1171
- [RTFI] Detecting list continuation par does not respect position tolerance setting UC-1165
- [RTFI] RTFShpPictDest: lookahead counter not reset to current reading position before getting next lookahead token UC-1125
- [RTFI] Table borders problem (border-top on cells below spanned cell) UC-1107
- [RTFI] When note marker mode="Delete marker based on content of reference" and it does not match, the mangled gentext element remains as CDATA in the note content UC-1097
- [RTFI] border-spacing property not created/written UC-1077
- [RTFI] Internal properties border-spacing-h and border-spacing-v are missing vendor prefix in output UC-1076
- [RTFI] uci:gentext: revision-tracked parts of an instruction marked for deletion must be hard-removed from @uci:data UC-1069