XML.com

Release of XMLmind XML Editor v8.2.1

December 7, 2018

Submitted by Hussein Shafie, XMLmind Software.

Release of XMLmind XML Editor v8.2.1. Home: http://www.xmlmind.com/xmleditor/. Download Personal Edition: http://www.xmlmind.com/xmleditor/download.shtml

Enhancements:

  • A right-click on the little file icon found at the very beginning of the node path bar now displays a contextual menu. This menu has two entries: "Copy Document Location" and "Open Containing Folder". The latter opens in the native file manager the folder containing the document being edited.
  • It's now possible to browse a Zip archive of any kind (.zip, .jar, .war, .epub, .docx, .odt, etc) using XXE's Folder tool by selecting this file normally using "File|Open". In previous version of XXE, the only ways to do that was using the command-line (e.g. xxe foo.zip) or right-clicking on the name of the Zip archive in the Folder tool and then selecting "Show Archive Contents" from the contextual menu.
  • XHTML configuration: added a "Paste embed code" button to the iframe editor dialog box. This button makes it quick and easy filling the fields of the dialog box. See tip.
  • The DITA, DocBook, XHTML and Ebook XSLT stylesheets all make use of XMLmind XSL-FO Converter v6 new extension attribute xfc:render-as-table. This attribute enables a workaround for a limitation of XMLmind XSL-FO Converter: a fo:block having a border and/or background color and containing several other blocks, lists or tables is very poorly rendered in RTF, WML, DOCX and ODT. Such container fo:blocks are quite commonly used, for example, to represent complex notes, admonitions or sidebars.
  • Modified the DocBook XSL stylesheets so they use XFC extension attribute xfc:label-format to create proper RTF, WML, DOCX and ODT ordered lists, including nested ordered lists which inherit their numberings from their ordered list ancestors (that is, support for DocBook orderedlist/@inheritnum="inherit").
  • Updated DocBook 5.0 RELAX NG schema and schematron to version 5.0.1. The only difference between these two versions is that the DocBook 5.0.1 schematron now conforms to the ISO Schematron syntax (e.g. it uses a "http://purl.oclc.org/dsdl/schematron" namespace).
  • Upgraded the XMLmind XSL-FO Converter (XFC for short) plug-in to version 6.
  • Upgraded XMLmind Web Help Compiler (whc for short) to version 2.1.3_02.
  • Upgraded Saxon to version 9.8.0.15.
  • Upgraded XMLmind DITA Converter (ditac for short) to version 3.3.1.
  • Upgraded XMLmind Assembly Processor to version v1.0.6.
  • Upgraded the "Word To XML" add-on to XMLmind Word To XML version 1.5.1_01.
  • Upgraded XMLmind Ebook Compiler (ebookc for short) to version 1.3.1.
  • XMLmind XML Editor, which passed all non-regression tests, is now officially supported on Java™ 11 platforms.

    Java 10 and 11 regression [JDK-8211422]

    For some PNG images,

    • Apache FOP reports error "I/O error while extracting image metadata: Error reading PNG metadata" and fails to render the PNG image.
    • XMLmind XSL-FO Converter reports warning "cannot get the resolution of image 'file:/tmp/XXX.png': Error reading PNG metadata" and renders the image using default image resolution (96dpi; may be changed using option -imageResolution=DPI or option /r DPI).

    For now, the only workaround for this bug is to open the faulty PNG image in an image editor (e.g. GIMP) and to re-export it as PNG under the same filename.

  • XMLmind XML Editor is now officially supported on macOS Mojave (version 10.14).

Bug fixes:

  • In previous versions, first single click in the media player (embedded in DITA topic, DocBook 5.1 and XHTML5 styled views) caused the “settings dialog box” to be displayed as if the media player was double-clicked.

    This workaround is related to Java 10 regression JDK-8201291: Clicking a JFXPanel having setFocusable(false) causes its processMouseEvent method to loop forever.

    Please note that the above annoying behavior still exists in the case of the iframe embedded in the XHTML5 styled view.

  • This bug fix did not work unless some language information was explicitly specified in the document being edited (e.g. xml:lang="de-CH" on root element).
  • A CSS rule like the following one caused the view of element foo to be rebuilt each time any of its attribute changed.
    foo {
        display: concatenate(xpath("if(@bar, 'inline', 'block')"));
    }

    Now the XPath expression is quickly analyzed and in the case of the above example, the view of element foo is rebuilt only when its bar attribute changes.

  • The styled view of a document was extremely slow to create (and also to dispose) when the CSS stylesheet added dozens of thousands of label(xpath, "...") generated content objects. This feature has been slightly optimized and this operation is now just slow.
  • "XHTML|Preview" created a fully untranscluded, temporary, preview file for an XHTML document making use of XInclude, but this preview file was not showing the images originally found in the XIncluded elements.
  • CSS support: "content: none;" and "content: normal;" were not supported. The only way to suppress generated content was to specify "content: '';"
  • If you install manually a third-party configuration in any of the 3 special editions of XMLmind XML Editor (that is, DocBook Editor, DITA Editor, XHTML Editor), the "Loading configuration..." message displayed in the Status window now explains why this configuration is being ignored. Moreover, the "Options|Install Add-ons" dialog box flags this installed third-party configuration as being "NOT ALLOWED".
  • Added workarounds for a couple of GUI “glitches” which showed up when running Java 11.

Incompatibilities:

  • If you install XXE on a Mac using the .dmg distribution, XXE will now use bundled, private Java™ runtime whatever the Java runtime you have installed on your computer.

    If you prefer to run XXE using a different version of Java, you'll have to first delete folder XMLmind.app/Contents/Resources/xxe/bin/jre/ in order to force XXE to use the version of Java installed on your computer.


News items may be commercial in nature and are published as received.