XMetaL Author Enterprise 6.0 Service Pack 1 Release Notes

Contents

Introduction

XMetaL Author is the leading authoring application for organizations using any XML document type, including the most complete support for the Darwin Information Typing Architecture, or DITA. XMetaL Author also helps you maximize content reuse through tight integration with content repositories, address advanced publishing requirements with an extensible publishing framework, and improve collaboration with reviewers by being able to merge XMetaL Reviewer comments and addenda directly into your documents.

With this version, XMetaL Author extends the functionality and ease-of-use that has already made it more intuitive than Microsoft Word plug-ins or any other structured authoring solution on the market, while still providing the power and flexibility of professional desktop publishing tools.

New features

Unified authoring and reviewing

This feature allows you to quickly and easily manage project reviews without the need to switch from XMetaL Author to Reviewer.

You can do the following directly in XMetaL Author:
  • Start a new review project
  • Release documents drafts for review in XMetaL Reviewer
  • Add and remove authors and reviewers
  • End a review and download the reviewed material

The result is a more cohesive and efficient documentation cycle.

Note: Unified authoring and reviewing is available separately as part of XMetaL Reviewer 6.0.

Background spell checker and automatic spelling correction

The background spell checker lets you identify possible spelling mistakes as you type. Automatic spelling correction corrects misspelled words that are similar to words in the main word list or user word lists.

XML Inclusions (XInclude)

W3C XInclude Version 1.0 (Second Edition) introduces a generic mechanism for merging XML documents (as represented by their information sets) for use by applications that need such a facility. The syntax leverages existing XML constructs - elements, attributes, and URL references.

XMetaL Author provides a DocBook sample intended to demonstrate new features such as Xinclude. This sample is available from the Help > Samples menu in XMetaL Author.

XMetaL does not provide a user interface out-of-the-box for working with XML inclusions as the implementation of this feature needs to be specific to particular document types. However, sample code will be provided that you can copy to integrate into your own XMetaL implementation. This sample code will include the following features:
  • Show or hide XML inclusions
  • Right-click in a document to open the file that is included via the XML inclusion

Results Manager processes XML inclusion errors that are then displayed in the Results pane at the bottom of the XMetaL Author user interface. You can access individual errors in the Link Errors pane and address issues one by one.

Schema 'xs:redefine' support

XMetaL Author's XML Schema now supports document instances and related schemas that rely on the xs:redefine construct. For example, S1000D Issue 4.0 relies on the xs:redefine construct.

XMetaL will open documents using XML Schema (XSDs) that use the xs:redefine feature.

WebHelp

WebHelp is now included as an output option in XMetaL. WebHelp is a frameset help that features a table of contents, search and index. Viewed on an Internet browser, WebHelp lets you deliver help for web-based applications across multiple platforms.

Map Editor enhancements

Map Editor now provides enhanced support for bookmaps. You can now insert the Chapter, Appendix and Part bookmap element types in the Map Editor.

Map Editor now supports specialized map content. You can insert any specified, specialized Topic Reference element type.

Map Editor may be configured to adjust its selection to reflect a newly activated topic display in TagsOn or Normal view. If configured, The Map Editor makes its active selection the first Topic Reference whose href value corresponds with the newly activated document. Otherwise, the active selection remains unchanged.

Map Editor now supports keyboard commands for common actions such as adjusting selections, deleting selections and viewing a selection's properties.

Leverage XMetaL Connectors for any schema

With the addition of new configuration primitives for document customizations, non-DITA schemas can easily benefit from the value provided by an XMetaL Connector. If your schema's XMetaL customization is already configured for images, XMetaL Author Enterprise and an XMetaL Connector enable you to create those image links to files stored in the CMS. Similarly, if your schema permits making links to other files (e.g., XInclude href), it is a simple document customization configuration step to enable an XMetaL Connector for you.

See XMetaL Developer 6.0 for more information on configuring Treat as Link and Treat as Image.

Generating output in the background via DITA Open Toolkit

XMetaL's Generate Output feature can be run in the background. If enabled, this feature frees up XMetaL Author for the user to continue with other authoring tasks while output is being generated. Simply change the Configure Output advanced output parameter _rem_cmd_synchro_mode = 2 to cmd_synchro_mode = 2.

Conref table row display inline

XMetaL Author Enterprise now provides authors with the capability to view content references (conrefs) within CALS tables. XMetaL Normal and Tags On views display a preview of referenced content in table rows, as these views already do for conrefs in other element types.

Other new features

XMetaL Author now provides the following support:
  • Windows 2008 Server support*
  • Windows 7 support*

    * 32-bit versions only. 64-bit is not supported currently though customers have reported the software appears to install and function correctly via the Windows-On-Windows (WOW) layer. Although no problems have appeared with XMetaL Author installed on a Windows 7 64-bit system, please use XMetaL Author at your own risk.

New APIs

Some new APIs, event-macros and INI switches have been added to XMetaL Author, further extending the platform's customizability. Please refer to XMetaL Developer documentation for more information.

This release includes new APIs, as follows:

API Description
ResolvePath Property for path of a link element. Use this property while in the On_Resolve_Link_URL_And_Path macro.
ParentURL Returns link's parent document url. Use this property while in the On_Resolve_Link_URL_And_Path macro.
ResolveAttrName Returns link attribute name. Use this property while in the On_Resolve_Link_URL_And_Path macro.
ResolveAttrNS Returns link attribute namespace name. Use this property while in the On_Resolve_Link_URL_And_Path macro.
ResultsManager Returns the Results Manager object.
IniVariable Get value of xmetal INI variable as string. Returns empty string if no variable found.
IsImportantContextPopup Returns TRUE if menu item is for correcting misspelt word or accept/reject track change. Such menu items should be left at top of right-click menu.
ShowLinkLogTab Show XInclude Link log tab in Results pane.
HideLinkLogTab Show XInclude Link log tab in Results pane.
ShowXInclude Show XInclude
HideXInclude Hide XInclude
UpdateXInclude Update XInclude
OpenXIncludeTarget Open XInclude Target
ExportWithXIncludesToXML Export With XIncludes to xml
ActiveXIncludeNode Returns the current xinclude node before its target gets attached
IsXIncludeNode Returns true if the node is xinclude node
IsNamespaceAware Returns true if doc is aware of namespace
PurgeXIncludeCache Clear XInclude target source cache
SetXIncludeFeature Set xinclude feature
LinkResolutionErrorList Returns a link resolution error list object.
ConvertXIncludeTargetToXML Get xml string of xinlcude target fragment
ExportWithXIncludesToFile Export With XIncludes to file
GetXIncludeTargetState Return xinclude node target doc state
RegisterNonCopyableAttr Register non-copyableable attribute names.
BackgroundSpellchecking Get/set background spellchecking enable/disable status for this document.
SpellAutoCorrect Get/set 'spell autocorrect' spellchecking status for this document.
IsSpellingCorrect Checks spelling for word under cursor.
GetSpellingResult Returns Spelled word (mode:1), list of suggestions (mode:1), list of synonyms (mode:2)for word under cursor.
ReplaceWord Replace word under cursor.
IgnoreWordSpelling Ignore word spelling for word under cursor or selection.
AddWordToDictionary Add to dictionary word under cursor or selection.
SetSpellCheckerService Set spell checker service implementation
InlineMediaVisible Visibility of images and OCXReplacements, i.e. Hide/Show Inline Images state
Name Returns the element name of the link.
ParentList Returns the parent elements name of the link.
Source Returns the source attribute name of the link.
EnableBuiltInChooser Returns if the built-in chooser is used.
ChooserTitleString Returns the title string for the built-in chooser.
ChooserFilterString Returns the filter string for the built-in chooser.
EnableBuiltInFetcher Returns if the built-in fetcher is used to retrieve the item from CMS system
EnableRebase Returns if the source attribute value needs to be rebased for save-as operation.
EnableFolderLink Returns if the link links to a folder.
Item Returns a link item. Index ranges from 0 to Count - 1.
Count Returns the number of link items.
Links Returns an object for the Links.

Quality improvements and enhancements

A substantial number of minor defects, customer-reported issues and enhancements are addressed with this release. Noteworthy improvements are detailed in this document.

Third-party components

This version of XMetaL Author Enterprise embeds the following third-party components, used for generating output from XML content (publishing):
  • DITA Open Toolkit 1.4.2.1, including version 1.4.1 of the FO plug-in from Idiom Technologies. This version of XMetaL Author Enterprise has been tested with the DITA Open Toolkit versions 1.3.1 and 1.4.
  • RenderX XEP 4.12, used in generating output with Book via RenderX and XMetaL Enhanced PDF deliverable types.
These upgrades fix a number of issues. Please refer to the 3rd-party software's readme or website for more details:

Bug fixes and minor enhancements

XMetaL Author Enterprise 6.0 Service Pack 1

Feature Description
Closing XMetaL when modified, invalid document is open. Closing the XMetaL application window no longer causes XMetaL to crash if a modified, invalid document is open.
Backspace/Undo causing intermittent crashes

Entering Backspace or clicking Undo no longer cause crashes.

DOMNode.hasChildNodes API and the absence of child nodes Code has been adjusted such that DOMNode.hasChildNodes API no longer returns random results if there are no child nodes.
Adding a #FIXED attribute to the DTD using script Calling the API method addAttribute() in a script in order to extend the DTD would cause a crash when the 5th argument (intDeclType) was passed the value sqDTFIXED (or the equivalent value of 3). This issue no longer occurs and the sqDTFIXED value can now be used safely.
Background Spellchecker issue XMetaL Author would crash shortly after launching
Note: This only affected clients that upgraded from 5.x to 6.0, not clients with a "fresh" installation of XMetaL Author 6.0.

Several spell checking DLLs were not updated by the installer. At run time, XMetaL Author would try to invoke new code that did not exist, triggering a crash The installer has been corrected so that this no longer occurs.

Deleting content with tracked insertion and deletions In some cases the background SpellChecker could cause a crash while working with Change Tracking. This issue occurred while deleting content containing tracked insertions and deletions. The issue has been addressed.
SVG images width / height SVG images with width and height specified using the following units now render at the correct size: in, cm, mm, px, pt, pc. Prior to this fix only the unit types "in", "cm" and the absence of a unit identifier were supported.
Change tracking processing instructions in long text lines

Previously, a change tracking PI may have been broken at an incorrect location when a line of text was too long.

Plain Text view line length limitation Lines longer than 4077 characters did not render when a document was edited in Plain Text view. This limitation has been removed. We still recommend enabling and properly designing Pretty Printing for the customization associated with a particular schema. This will aid authors by allowing them to see most of their content at one time, avoiding the need to scroll horizontally. In addition, extremely long lines may also slow down editing while working in Plain Text view.
Using XML namespace, track changes corrupts document The Track Changes feature was introducing unwanted namespace prefixes into deletions. This has been corrected.
Improvements to the default customization for WebHelp output

  • Map title element and title attributes are now set according to their preferred usage in maps as stated in the DITA Language Reference. The DITA Language Reference suggests that the map title element is preferred and that the attribute is to be considered deprecated.
  • Files consisting of JavaScript arrays that drive the navigation and search functionality in WebHelp - index_data.js jquery.treeview.js search_data.js toc_data.js - are now overwritten each subsequent time you produce WebHelp. This avoids file size bloating and duplication of array declarations.
  • Titles containing quotation marks (specifically, the character U+0022) no longer break WebHelp.
  • Output files previously not encoded in UTF-8 are now encoded in UTF-8 (files that drive the navigation and search functionality). English and other Western European languages (languages where ASCII defines all the characters needed for a particular language) were mostly unaffected by this issue.
  • A new webhelp.css file for all browsers and a specific CSS override just for IE6 is included to address limitations with IE6 and the problem in which some Mozilla-based browsers rendered the height of the navigation pane (TOC, Search and Index) too small, causing its content to be cut off.
Insert as "copy" option inserts RC table with <tgroup cols="-dita-use-conref-target"> When using the Insert Reusable Component feature to reference (conref) to a "normal" table using the "Insert as: Copy" option, the correct cols attribute value is now set for the <tgroup> element.

Prior to this fix, the value "-dita-use-conref-target" was being set; now an integer value equal to the number of columns in the table is set. This does not alter the behavior for tables referenced using the "Insert as: Linked content" option (the default setting), in which case the desired value "-dita-use-conref-target" is still set.

Unwanted instances of iexplore.exe caused by copy/pasting HTML into DITA People that migrate a lot of content from HTML or Microsoft products into their DITA files would notice their computer becoming slower and slower as instances of iexplore.exe remain in memory after each paste operation. Copying and pasting HTML or content from Microsoft Word or Excel into DITA no longer causes Internet Explorer process to remain running.
xml:lang="xx" and Spell Checker xml:lang="xx" was being ignored by Spellchecker (where "xx" is any unrecognized value). This problem has been fixed. When xml:lang is set to an unrecognized value (one for which there is no spell checking dictionary and that has not been remapped in the INI settings) expected behavior is to use the default language as set in the spell checker's options. With an out of the box installation the default language is "English". With an out of the box installation (no INI settings) elements are not spell checked when the specific attribute value xml:lang="zxx" is set.
Change Tracking with drag and drop in DITA A fix has been applied to the problem of tracked changes being lost after dragging content to another location.
'Edit in XMetaL' option opening all selected files in Windows Explorer Selecting multiple files in Windows Explorer and selecting 'Edit in XMetaL' now opens all selected files. XMetaL Author should now open all files when any standard Windows operation triggers the operating system to run the main XMetaL program (EXE) and pass a list of filenames to it.
Input of an invalid attribute value using Attribute Inspector Using Attribute Inspector to change an attribute of type ID to a value that is invalid now consistently prompts users to confirm the change.
Per-user file read/write failure when %appdata% mapped to UNC path Per-user folders and files are now created on a shared server when the Windows %appdata% system path variable is redirected to a UNC path.
File > Save operation intermittently creating zero byte files Code has been adjusted such that an issue involving the File > Save operation creating zero byte-sized files is no longer present.
Display of help strings from .att file in Attribute Inspector The Attribute Inspector now displays attribute help string content from an .att file at the bottom of the Attribute Inspector window. Previously, certain content from an .att file did not appear.
Content from submap in DITA output An issue has been fixed in which output was not properly generated for a map with a conref. The content of the conref was not being displayed.
Scrolling in document with high of number spelling mistakes Performance has been improved for scrolling through a document with a high number of spelling mistakes
McAfee ScriptScan feature triggering crashes in XMetaL Author

An issue that caused intermittent crashes when authoring DITA documents with the McAfee ScriptScan feature enabled has been fixed.

Accept/Reject All performance

Performance of the Accept All and Reject All change tracking actions have been improved. Previously, for some documents these actions would take a long time to complete. Performance is now much faster.

DITA relationship table functions issue

An issue has been fixed where certain functions (Insert Rows or Columns, Delete Row, Delete Column) did not work when a map was open in TagsOn or Normal view.

Cursor placement and CSS :before/after

Cursor placement and movement now behaves as expected when CSS :before/after is present in a CSS customization file.

Multiple cell table selection Selecting multiple cells by clicking during drag and drop now works as expected. Previously you had to first select the content inside a cell before selecting multiple cells. This bug was triggered by the new "Check spelling while typing" feature.

Extra spaces in default stylesheet file

An issue has been fixed in which the default PDF3 file commons-attr.xsl contained extra spaces. This issue only affected clients that had customized the deliverable type "XMetaL Enhanced PDF via RenderX XEP" by stopping alternate fonts from being used in headings. The extra spaces changed the font name by adding spaces to the start and end and this stopped XEP from locating the font.
PDF output for Chinese and Japanese Code adjusted such that PDF output for Chinese and Japanese now renders normally, regardless of which fonts are installed.
Obsolete hotfixes in XMetaL Author Enterprise 6.0 SP1
The following hot fixes are made obsolete with the installation of 6.0 SP1 and should no longer be used:
  • xmee_60_20100723.mcr
  • xmee_60_20101102.mcr
  • xmee_60_20101116.mcr
  • xmee_60_20101223.mcr

These files were provided to a select number clients and would have been installed on top of a standard installation of XMetaL Author Enterprise 6.0 by you or your organization. If you installed any of these hot fixes, one or more of the files listed above will be in the following folder:

<XMetaL Installation Path>\Author\Startup\

To "uninstall" these hot fixes, simply delete the file(s).

XMetaL Author Enterprise 6.0

Feature Description
Chameleon schema include support XMetaL no longer requires included schemas to declare a targetNamespace that matches the including schema's targetNamespace
Proper Windows IME positioning Support of the Windows IME for entering Japanese/Chinese/Korean has been improved.
File->New event macro Code adjusted such that File->New event macro is run before other, newer macros to maintain backward compatibility
Setting CSS text-decoration property to "none" CSS inheritance is blocked if the element has text-decoration=none
Supression of warnings on loading RLX file An INI variable has been introduced to detect if an RLX file has been generated
Viewing the output log in German version of XMetaL The output log can now be viewed after generating a PDF or HTML files in the German version of XMetaL
Inserting content no longer removes existing revision marking Adding text between normal content and content surrounded by revision marks caused revision marking to be removed in XMetaL 5.5. This is no longer the case.
Memory leak when updating conref references Fixes applied to contain the memory leak when updating conref references
XMetaL hangs when text selected in TagsOn or Normal view without releasing mouse for 5 sec. in a document opened via drag and drop. In XMetaL 5.5, XMetaL hung after selecting text in TagsOn or Normal view without releasing the mouse for 5 seconds in a document opened via drag and drop. This has now been fixed.
File->Exit macro XMetaL Author now supports running multiple "File->Exit" macros.
Schema: valid attribute value containing a space Schema: valid attribute value containing a space no longer causes a validation error
CSS border setting in one element causes crash after deleting another node CSS border setting in one element no longer causes a crash after deleting another node in Normal view.
EPS image causes XMetaL to crash or fail to load or render XML document XML document failed to render when it included a reference to a particular form of EPS file, possibly causing XMetaL to crash. Did not happen for all EPS file types. This has been fixed.
Sandboxing triple-level map When doing sandboxing, the topicref.href in the first map is now being resolved correctly.
Single HTML output contains named character entities Single HTML no longer produces output containing named character entities
CHM failure when generating output to mapped drive Generating CHM output for a map stored on a shared drive with a mapped drive letter failed when map was opened from within XMetaL using the File > Open command. This has now been fixed
Opening a partial DITA document, xmetal.rlx file written out instead An extra check test was added to see if a named entity is the DTD/document entity and it will be ignored as a duplicate/already-open case
Single HTML with image under Documentum connector Generating output for a DITA composite document that contains an image is now possible
Referencing another map file as href target from a "Preface" element in a ditamap The "Preface" element has been added to the list of references that can be inserted
Map elements not automatically assigned an ID When creating new maps within the Map Editor, the root map element's ID attribute was not automatically assigned

Backwards-compatibility with DITA 1.0

Using DITA 1.0

DITA 1.1 is the default DTD version when working with DITA documents. If you do not wish to use DITA 1.1, you can revert to DITA 1.0 by following these steps:


  1. Close XMetaL Author.
  2. Copy all of the files in C:\Program Files\XMetaL 6\Author\DITA\DITA_1.0.1_DTD and paste them in C:\Program files\XMetaL 6\Author\DITA\DITA_OT_DTD, overwriting the existing files in that folder.
  3. Start XMetaL Author and close all open documents.
  4. Click View > Toolbars and select the Macros toolbar.
  5. Select the DITA Configuration: Delete RLX Files macro from the Macros toolbar.
  6. Run the macro by clicking the green arrow on the left side of the Macros toolbar.
Note: To revert to the default shipped DITA DTD, copy the files in C:\Program Files\XMetaL 6\Author\DITA\DITA_1.1_DTD and paste them in C:\Program files\XMetaL 6\Author\DITA\DITA_OT_DTD, overwriting the existing files in that folder.

Making older DITA files compatible with DITA 1.1: Ditacleaner utility

Previous versions of XMetaL Author created files that conform to DITA 1.0. These files include some attributes that are not allowed in DITA 1.1 and they will cause validation errors if you attempt to edit them or generate output using DITA 1.1. For this reason, we have supplied the ditacleaner utility.

The ditacleaner utility is a command-line tool that you can use to clean files of attributes that are not allowed in DITA 1.1. The tool is installed at C:\Program Files\Common Files\XMetaL Shared\ditacleaner. Configuration settings are stored in config.xml. By default (that is, without editing the configuration file), the tool removes the xmlns, ditaarch:DITAArchVersion, domains, class, and xmlns:ditaarch attributes with empty values from files with .xml, .dita, and .ditamap extensions. (By default, previous versions of XMetaL always created these attributes with empty values, for example, 'xmlns=""'.)

If you need to change the default configuration settings, for example, if you specified a value for any of the abovementioned attributes, you can edit the configuration file in a text editor. Attributes to be removed are specified in the AttrName property. You can specify a string or regular expression in the attrValuePattern property. If you specify a value, only attributes that match the value are removed.

You are advised to convert all existing DITA 1.0 documents to DITA 1.1 at one time to avoid version and compatibility issues.

We recommend backing up your existing documents before working with this tool.

To use the tool, do the following:


  1. Go to the Windows Start button and select Run.
  2. Type cmd.
  3. Navigate to where the ditacleaner utility is installed. For example, type the following at the command prompt: cd Program Files\Common Files\XMetaL Shared\ditacleaner
  4. Type the following:ditacleaner -c config_file_path file_path|folder_path
-c

Allows you to specify an alternate configuration file. This argument is optional; by default config.xml is used.

file_path

Specify a file to clean using the AttrName and attrValuePattern properties contained in the configuration file.

folder_path

Specify a folder containing DITA files. File types to clean are read in from the configuration file. Files contained in sub-folders are also cleaned.

You can specify one or more files and folders on the command line. Here is an example:

ditacleaner c:/temp/file1.xml
c:/temp2/files.xml d:/legacy

Known issues

Document is always opened in read-only mode when using Internet Information Services 7.0 (IIS 7.0)

IIS 7.0 is no longer open for anonymous HTTP put operations. Consequently, XMetaL cannot open files for editing over an Internet connection, which causes files to open as read-only.

For more information, go to http://learn.iis.net/page.aspx/360/what39s-new-for-webdav-and-iis-70/ and refer to the third bullet point under the "Changes and Known Issues in WebDAV for IIS 7.0" section.

XMetaL encounters 'Run-Time Error' error with message "Automation server can't create object"

If you encounter this error message during XMetaL Author startup, it is most likely that the software was installed using the 'Only for me' option. That means XMetaL Author can only be run from the user account designated at installation time. Kill XMetaL Author using the TaskManager and run XMetaL Author from the correct user account.

Errors when generating output

XMetaL uses the DITA Open Toolkit and a Java-based processor to generate output. When generating output, you may encounter errors caused by insufficient memory allocation or application wait time. To correct these errors, you can try some or all of the following:
  • Shut down all unnecessary processes and applications
  • Increase the amount of memory allocated to your Java processor
  • Increase the application wait time
  • Use the Saxon processor

Increase the amount of memory allocated to your Java processor

You may encounter Java memory errors when generating output, particularly for large documents. You can correct this error by increasing the amount of memory allocated to your Java processor. By default, Java uses 128 Mb of memory, and if this process exceeds that amount, you will see the error 'java.lang.OutOfMemoryError' in the output log. You can increase the memory allocation to the Java processor by modifying the Xmx and Xms variables.

When generating output, you can monitor the amount of memory used by the Java process through the Task Manager. The Java process terminates with an out of memory error when the memory usage and virtual memory size become equal. (You can display these values through the View > Select Columns dialog in the Task Manager.) This allows you to determine the maximum amount of memory you require for a given output.

Note: The values of these variables may be higher or lower than those indicated in the procedure below. You are advised to increase the values until you are able to successfully generate output, or until the limit of available physical memory (RAM) is reached. For 32-bit versions of Windows (for example, Windows XP), the maximum memory that can be allocated to a process is 2 Gb (2048m).

  1. Navigate to C:\Program Files\Common Files\XMetaL Shared\DITA_OT\demo\fo\build.xml.
  2. Search for the line that reads:
    <java classname="com.icl.saxon.StyleSheet"  
    classpathref="project.class.path" fork="true">
    and add the following argument:
    <jvmarg value="-Xmx1024m"/>
    Here is how the element should look:
    <java classname="com.icl.saxon.StyleSheet"  
    classpathref="project.class.path" fork="true">  
    	<jvmarg value="-Xmx1024m"/>   
    ...   
    <java>
  3. Search for the line that reads:
    <java classname="com.idiominc.ws.opentopic.fo.xep.Runner"  
    resultproperty="errCode" failonerror="false" fork="true"  
    maxmemory="256m">
    and change the maxmemory value to 1024. Then add the following argument:
    <jvmarg value="-Xmx1024m"/>
  4. In XMetaL Author, click Tools > Configure Output. In the Advanced tab, type the following line in the Other output parameters box:
    ANT_OPTS = -Xms1024m -Xmx1024m

Increase the application wait time

When generating output, XMetaL may display an error message before the Java process has finished. This situation is particularly relevant to versions of XMetaL before 5.0.10. You can correct this error by increasing the application wait time.

Note: This does not address the Java out-of-memory issue.

  1. Select Tools > Configure Output.
  2. Click the Advanced tab and specify an application wait time (in seconds). For example, to tell XMetaL to wait one hour before displaying an error message, add the following output parameter:
    cmd_dita_ot_waiting_time = 3600

Use the Saxon processor

By default, all output formats, with the exception of PDF via RenderX, use the Xalan processor. However, you may be able to prevent out-of-memory errors by switching to the less memory intensive Saxon processor. The following procedure illustrates how to modify the HTML Help (CHM) deliverable type to use the Saxon processor.

Note: Switching to the Saxon processor may result in longer processing times.

  1. Select Tools > Configure Output and click the Advanced tab.
  2. Add (or change) the following output parameter:
    cmd_always_open_log = yes
  3. Generate output using a deliverable type that is based on the 'PDF using RenderX' output format.
  4. In the log file, search for "CLASSPATH" and find the line that looks similar to the following:
    C:\Program Files\XMetaL  
    5\Author>set  
    CLASSPATH=C:\PROGRA~1\COMMON~1\XMETAL~1\DITA_OT\lib\dost.jar;;C:\PROGRA~1\COMMON~1\XMETAL~1\saxon\saxon.jar;
  5. Copy the the classpath to the clipboard.
  6. In the Edit Deliverable Type dialog box for HTML Help (CHM), click the Advanced tab and paste the classpath in the Other output parameters box.

Now when you generate output for HTML Help, you should see the following line in the log:

[echo] * xslt.parser = SAXON 

Changes in this release have been made to shorten the length of paths used to store temporary files passed to the DITA OT for processing. The maximum length of any path in Windows is 260 characters. Files in paths that exceed this limit are typically inaccessible to most applications, including Windows Explorer. Files written to such a location may cause errors in other applications that attempt to access them. To reduce the chance of this occuring changes have been made to this release that dramatically shorten the path used to store these temporary files. However, in some cases it is still possible that the 260 character limit may be exceeded.

Shortening the original DITA source file names and the folders they are stored in may help to resolve this issue. Where that is not possible or desirable you may also use two new parameters to change the path used as the temp folder.

The two new parameters are:


  • DSDK_PARAM_tempdir

  • ANT_PARAM_dita.temp.dir

These parameters can be set in Configure Output -> Advanced tab -> "Other output parameters".

Examples:


  • DSDK_PARAM_tempdir = C:\Temp
  • ANT_PARAM_dita.temp.dir = C:\Temp

The shortest possible path would be a folder named using a single character.

Examples:
  • DSDK_PARAM_tempdir = C:\T
  • ANT_PARAM_dita.temp.dir = C:\T

Note that these parameters do not cause the folder to be created; you must do that manually.

Also note that in theory it would also be possible to use C:\ as the path but that is not recommended.

Finally, this folder should be a folder on the user's local machine and not a shared / network folder.

You may set one or both parameters. DSDK_PARAM parameters are for deliverables that use JAVA and ANT_PARAM parameters are for deliverables that use ANT. Please refer to the XMetaL Author Enterprise help for a list of deliverables and whether they use JAVA or ANT.

To remove files already created in an inaccessible folder path use Windows Explorer to rename as many ancestor (parent) folders as possible in order to reduce the length of the file path. In order to free locks on such files you may need to first reboot, or you may need to perform this renaming at a Command/CMD/DOS prompt. Once the path has been reduced below 260 characters you should be able to open, copy, move or delete the files. If this fails please consult Microsoft's documentation on this subject for your particular operating system version as this is a known limitation with various Windows versions.

Unexpected cursor behavior when attempting to insert a relationship table

When you add a new relationship table (<reltable>) to a map file in Normal view, the cursor may not behave as expected. Workaround: Switch to Tags On view and right-click the mouse and choose the Insert element option to add the relationship table.

Switching to Page Preview for large bookmaps may cause unexpected results or GPF

When you are working in a large bookmap and attempt to switch to Page Preview, you may have unexpected results or a general protection fault.

DITA customization does not load when opening an invalid DITA document

When opening an invalid DITA document in well-formed mode or Plain Text view, XMetaL does not load the DITA customization. As a consequence, the DITA toolbars and menu items are not available. Workaround: Open the invalid document in plain-text view, fix the validation errors, and re-start XMetaL. If you have configured XMetaL to use the DITA 1.1 DTD, you must remove the 'xmlns' attribute from the DITA document and re-start XMetaL.

Using background-color or border CSS properties may slow editing

Setting CSS background-color or border for elements that contain large amounts of content may compromise the performance of the editor. Workaround: use a CSS override to set 'border:none' for the element. See the online Help for information on overriding base formatting.

"xmlns:ditaarch" attribute removed when saving from Map Editor

The Map Editor strips out a number of defaulted attributes whenever a ditamap instance is saved. The defaulted attributes stripped out:
  1. xmlns:ditaarch,
  2. ditaarch:DITAArchVersion,
  3. class,
  4. domains.

Generating output with conditional text may have unexpected results

The output from a topic or map that includes conditional text may contain conditions that you excluded through the Show/Hide Conditional Text dialog, or vice-versa. Workaround: Close XMetaL and remove the file C:\Documents and Settings\<userid>\Application Data\SoftQuad\XMetaL\<version>\ct_preferences.xml, then re-start XMetaL and try generating output again.

Drag-and-drop functionality

When the user drags and drops internal content from one location to another, if the drop point is correct the drop is successful. However, when the user performs a single Undo, the dropped text remains at the drop point even though the original text is returned back to the initial location. To return to the original state, perform two Undo operations.

The user can drag content from one location to another within a DITA topic. However, if the user drops the content in an invalid location, the action is accepted, but the content is never actually dropped and the original content is removed from the initial location.

Output directory requires cleanup

When generating output, the presence of files in the output directory may cause the build to fail.

Adding a <topichead> element without a navtitle attribute triggers a validation error

When editing a DITA map file in Plain Text view, adding a <topichead> element without a navtitle attribute triggers a validation error. Although the DITA specification claims that this attribute is optional, it is, in fact, required by the DITA 1.1 DTD.

Tables

There are several issues related to working with tables:
  • The Table toolbar does not always offer options that should be available when you are working inside a table. The workaround is to use the equivalent menu items.
  • When inserting simple tables into other tables, the new table may not be inserted at precisely the indicated location. You may have to move the table manually later.
  • In Simple tables, highlighting and deleting or typing text can remove the contents of multiple cells and alter the table structure, possibly creating invalid markup. Use the Repair Table Structure command on the Table menu to fix these problems.
  • A disallowed drag and drop from a table may result in the highlighted text being moved to another table cell. The workaround is to click Edit > Undo.

Content references may not appear in HTML and PDF output

You may experience problems generating HTML and PDF if your DITA map contains topics with <conref> attributes that refer to reusable components that are saved outside of the directory in which your DITA map file is saved. It is recommended that you save your reusable components in the same directory on the same volume as your DITA map file or a directory below it.

Footnotes appear in the PDF document body

When publishing footnotes to PDF using FOP, the footnote content is displayed within the document content and is not displayed within the bottom margin of the page. Contact XMetaL support to learn how to use a different stylesheet.

Microsoft® Office™ copy and paste limitations

Although you can copy and paste (or cut and paste) paragraphs, headings, etc. from Microsoft Word and cell ranges from Microsoft Excel, some of the more complicated content structures cannot be pasted in their entirety into XMetaL documents. The workaround is to employ multiple copy-and-paste operations using a simpler and smaller set of content in each operation.

Creating web folders in Windows XP (WebDav)

Web folders accessed in Windows XP must have ":80" appended to the server name.

For example, if your server is http://www.MySite.com/Folder, you must create the folder as: http://www.MySite.com:80/Folder.

WebDav is not supported for DITA documents.

Toolbar memory leak

Repeatedly deleting toolbars using scripting impairs the performance of XMetaL because of a memory leak. Workarounds:
  • Re-design your customized user interface so that toolbar deletion is not required.
  • Adjust scripts to minimize deletion of custom toolbars and delete controls on the toolbar instead.
  • Periodically, hold the Ctrl key down while XMetaL is starting up until you are asked "Do you want to skip opening the last session's workspace?" Click Yes.

Copying and pasting content references

When you copy and paste a content reference, the local content, not the referenced content, is displayed. To display referenced content, click Reuse > Refresh and Show Referenced Content.

Assets tab is deprecated

While the Assets tab still functions correctly in Admin mode, it is recommended that you use another solution to manage pieces of content.

Under Limited User or Per-User mode, you can no longer drop content into the Asset tab to create new assets and the Asset tab is read-only. However, you can still drag and drop assets from the Assets tab into your document. There are no further plans to alter the Assets tab functionality.

Maintaining attribute values when changing element types

When you change a DITA element using the Insert Element list, if the element is empty or if it contains only other empty elements, attributes are lost.

Bookmap elements not supported by DITA Open Toolkit

Not all bookmap elements are supported by the DITA Open Toolkit.

Booklist support in bookmaps

The following types of lists are not automatically generated in output out of the box:
  • Tables list
  • Figures List
  • Trademark List

These lists can be added by customizing the DITA Open Toolkit.

Path names for referenced content

In order for referenced content to appear in output, the paths for all conref attributes must be relative to the file that contains them. To make sure that paths to referenced content are relative, do the following:
  • Check that all paths specified in conref attributes point to a location that is on the same drive as the file that contains them
  • Save topic and map files before you insert a content reference, image, cross-reference, or other type of link, and before you generate output

Generating PDF output still shows watermark after activating from a Trial to Full version

Before you generate output from a map after activating a Trial version to a Full version, do the following:
  1. Click Tools > Configure Output and click the Advanced tab.
  2. In the Advanced tab, change the value of the cmd_dita_ot_per_user_version parameter as follows: cmd_dita_ot_per_user_version = 0

When you generate output, you may be asked if you want to upgrade to a newer version of the toolkit. Click OK.

Generating output on Japanese OS

Before you generate output from a map on a Japanese operating system, do the following:
  1. Click Tools > Configure Output and click the Advanced tab.
  2. In the Advanced tab, change the value of the cmd_dita_ot_per_user_version parameter as follows: cmd_dita_ot_per_user_version = 0

When you generate output, you maybe asked if you want to upgrade to a newer version of the toolkit. Click OK.

Copyright page, front cover, back cover in PDF output

Generation of a copyright page, front cover, and back cover is not provided out of the box with the DITA Open Toolkit.

Cross-references to step elements in PDF output

Cross-references that point to a <step> element appear with the text "list item" in PDF output created using the Book via RenderX and XMetaL Enhanced deliverable types, and other deliverable types that use the PDF2 or PDF3 transtypes .

Cross-references that point to a <step> element appear with the step number in HTML output and in PDF output created using PDF via FO with Default Prorcessing deliverable type, and other deliverable types that use the PDF1 transtype.

Indexing limitations in PDF output

PDF output from DITA includes the following indexing limitations:
  • In cases where there are more than one See/See Also entry in an index term, only the last such term will appear in the index
  • 'See also' entries are repeated where there are sub-entries

<bookmeta> elements cause "Book via RenderX" output to fail

The Book via RenderX deliverable type, and other deliverable types that use the PDF2 transtype, fails when processing a bookmap that contains the <bookmeta> element.

Cross-references with targets other than <topic>, <subtopic>, or <section> cause Book via RenderX output to fail

The Book via RenderX deliverable type, and other deliverable types that use the PDF2 transtype, fails when processing a cross-reference that targets an element other than <topic>, <subtopic>, or <section>.

Broken content references cause PDF output to fail

The Book via RenderX deliverable type, and other deliverable types that use the PDF2 transtype, fail when processing a content reference that cannot be resolved. In the same scenario, XMetaL Enhanced PDF deliverable types generate with nothing where the conref should be, and it will report that the build was successful. Check the output log for errors

Image scale property not supported for all output formats

The DITA Open Toolkit included with this release does not support the image scale property for HTML files and XMetaL Enhanced deliverable types. Images appear at 100% in output regardless of the value set for the scale property.Width a nd height attributes are supported as noted in the DITA Language Reference.

Duplicate IDs not supported by Antenna House

Processin g fails when you try to generate output from a DITA map that contains duplicate IDs using the Antenna House XSL Formatter.

Topics not visible in output if they are children of map references

If you create a map that contains a map reference and a topic reference and then demote the topic reference so that it is a child of the map reference, the topic reference does not appear in output. This issue applies to XMetaL Enhanced and HTML deliverable types.

Limited/Restricted users cannot select languages (Citrix only)

This issue applies to limited users under Citrix. If you attempt to select languages from the XMetaL Author Spell Checking dialog, you will not be able to view a list of languages. In order to select a new language, users must have full Administrator access to their local operating systems.

Close operation continues even if the DITA map file was not saved (Citrix only)

This issue applies to limited users under Citrix. If you try to save a map in a protected folder (or location where you do not have permission to write), you will see an 'Access denied' warning. If you press OK to dismiss the warning, the close operation continues, but the map file is not saved.

Operations not successful because of permission issues (Citrix only)

There are various cases where an operation might not succeed because of permission issues. For example, you may be prevented from opening a generated PDF or CHM file that is saved to the local machine drive ($C). Another example is drag-and-drop. If you try to drop a file located on the client machine into XMetaL (running on the server), this will fail. However, drag-and-drop from the Desktop tab in the Resource Manager is supported.

Generating output on German versions of Windows may cause XMetaL to crash

XMetaL running on German versions of Windows may crash while generating output for DITA content.

For work-around to this issue, please select Tools > Configure Output... and click OK once for the software to properly prepare the system for generating output.

Background spellchecking updated during periods of inactivity

Background spellchecking has been optimized to update during periods of inactivity. Consequently, if text is entered at a very high rate, the updating of red underline markers on the page may be delayed.

Support services

XMetaL Author Enterprise Edition 6.0J に関する製品お問い合せは下記までお願いいたします。

E-Mail xmetal@antenna.co.jp