net.sf.saxon.trans.XPathException: org.apache.fop.fo.ValidationException: Missing attribute on fo:basic-link: Either external-destination or internal-destination must be specified. (See position 1616:-1)


Solutions on the web

Solution icon of github
via GitHub by lb42
, 9 months ago
org.apache.fop.fo.ValidationException: Missing attribute on fo:basic-link: Either external-destination or internal-destination must be specified. (See position 1616:-1)

Solution icon of github
org.apache.fop.fo.ValidationException: "fo:block" is not a valid child of "fo:root"! (See position 5802:-1)

Solution icon of github
org.apache.fop.fo.ValidationException: "{http://www.w3.org/1999/XSL/Format}page-sequence" is not a valid child of "fo:flow"! (See position 17:-1)

Solution icon of stackoverflow
via Stack Overflow by Unknown author, 1 year ago
org.apache.fop.fo.ValidationException: "{http://www.w3.org/1999/XSL/Format}inline" is not a valid child of "fo:flow"! (See position 4:-1)

Solution icon of web
org.xml.sax.SAXParseException; systemId: file:/C:/Users/kingrobert/Documents/Dropbox/job/source/index.xml_xslt; lineNumber: 1; columnNumber: 39; Content is not allowed in prolog.

Stack trace

net.sf.saxon.trans.XPathException: org.apache.fop.fo.ValidationException: Missing attribute on fo:basic-link: Either external-destination or internal-destination must be specified. (See position 1616:-1)
	at org.apache.fop.cli.InputHandlerFOP.transformTo(Unknown Source)
	at org.apache.fop.cli.InputHandlerFOP.renderTo(Unknown Source)
	at org.apache.fop.cli.Main.startFOP(Main.java:186)
	at org.apache.fop.cli.Main.main(Main.java:217)
Caused by: net.sf.saxon.trans.XPathException: org.apache.fop.fo.ValidationException: Missing attribute on fo:basic-link: Either external-destination or internal-destination must be specified. (See position 1616:-1)
	at net.sf.saxon.event.ContentHandlerProxy.handleSAXException(Unknown Source)
	at net.sf.saxon.event.ContentHandlerProxy.startContent(Unknown Source)
	at net.sf.saxon.event.NamespaceReducer.startContent(NamespaceReducer.java:215)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.