Page 1 of 1

PDF Issue

Posted: Mon Jun 09, 2014 12:20 pm
by Minnu
When i generate PDF, i am getting the following error? How do i resolve this?
ValidationException: file:/D:/help-pdf/package4Julie/output/Design_Portal.fo:3227:-1: Error(3227/-1): fo:basic-link, Missing attribute: Either external-destination or internal-destination must be specified.
Please help

Re: PDF Issue

Posted: Mon Jun 09, 2014 12:42 pm
by Radu
Hi,

Are you producing output from an XML format for which Oxygen provides support out of the box like DITA or Docbook? Or are you producing output using your own XSLT stylesheets?
Either way, you might have a broken internal link in your XML content. If you are publishing DITA content you can run the "Validate and check for completeness" action available in the DITA Maps Manager and see if you find any problems in the content.
Another way to find out more details is to open in Oxygen the XSL-FO file D:/help-pdf/package4Julie/output/Design_Portal.fo and look at line 3227 where the problem is then try to determine from what part of the XML content that broken link was generated.

Regards,
Radu

Re: PDF Issue

Posted: Mon Jun 09, 2014 1:01 pm
by Minnu
Hi

The 3227 line says this: <fo:basic-link internal-destination="">http://aafr0110.schneider-electric.com/ ... basic-link>
What does this mean?

Regards
Minnu

Re: PDF Issue

Posted: Tue Jun 10, 2014 8:15 am
by Radu
Hi,

You should first find the XML content which produces this link http://aafr0110.schneider-electric.com/ ... cation.nsf....
If you are editing DITA content the reference to the external location should be like this:

Code: Select all

<xref href="http://aafr0110.schneider-electric.com/Global/Ebase/wib/publication.nsf/F?ReadForm&ID=08C1DE6D071AC5C7C125712A005B23C2&" format="html" scope="external"/>
Notice the need to set the @scope attribute to external on the link and the format attribute to something non-DITA specific.

Regards,
Radu