Pages: 1
Author Topic: Cannot adjust line length for "file not found" in "Cross-File Operation  (Read 2255 times)

Posts: 4

« on: April 11, 2018, 10:25:37 AM »

XMetaL 12

When running the Cross-File Operation to validate references - "For each XML document, check for broken references." against all topics in a ditamap. The results identify broken links, but the actual broken link topic does not display in the results. For example:

   file not found: (fiel:///c:<folder name>/<sub-folder name>/<sub-folder name>/<sub-folder name>/<sub-fol...

our topics may have many references to the same folder, so searching for that folder doesn't help locate the broken link.

I can expand the results to show the location of the topic the broken is in, but cannot find a way to expand the column to see additional results for the actual item associated with the broken link.

Is there a way to expand the results column?
Derek Read
Program Manager (XMetaL)

Posts: 2621

« Reply #1 on: April 11, 2018, 01:48:15 PM »

The text for long results is truncated, so that code would actually need to be modified to provide more information to the results list. I believe it is truncated in order to increase the speed at which large numbers of results can be displayed. So, the amount of text here could be increased, but perhaps there are other better options...?

Double clicking on the broken link listed in the Results pane will open the DITA file that contains the broken link, and it will move the selection to the element that has that broken link (which in your case is likely an <xref>). Once you are there you can:

1) Double click on the element to open the properties dialog for it and check the full attribute value you are interested in (assuming the dialog lists it). In the case of an <xref> element for example, the dialog will display the href attribute. You can also right click and select "Properties..." from the context menu (or press the context menu key if your keyboard has one, or Shift+F10).
2) Hover over a start or end tag for the element to see the full attribute value for attributes with values that have been set.
3) Place the insertion point inside the element then open the Attribute Inspector (F6) to check all of the element's attributes.

There are some other (possibly less useful) options:
1) Switch to Plain Text view to view the <xref> element's XML source in full.
2) Copy the <xref> element and paste it into another plain text application like Notepad (which is similar to  previous option).
« Last Edit: April 11, 2018, 05:16:43 PM by Derek Read » Logged
Pages: 1
Jump to:  

email us