PDF Issue

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Minnu
Posts: 22
Joined: Fri Aug 28, 2009 11:39 am

PDF Issue

Post 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
Radu
Posts: 9048
Joined: Fri Jul 09, 2004 5:18 pm

Re: PDF Issue

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Minnu
Posts: 22
Joined: Fri Aug 28, 2009 11:39 am

Re: PDF Issue

Post 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
Radu
Posts: 9048
Joined: Fri Jul 09, 2004 5:18 pm

Re: PDF Issue

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply