You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Tom Browder <to...@gmail.com> on 2010/07/07 16:39:36 UTC

Fop XInclude Failure with Lost Internet

I have an svg file included in my DocBook style sheet customization
file and it has worked fine up until this morning when I lost my
internet connection.

I then got the following error (using the trunk):

[Warning] value_user_manual.fo:204:64: Include operation failed,
reverting to fallback. Resource error reading file as XML
(href='./images/value-xhairs-only.svg'). Reason: www.w3.org
[Fatal Error] value_user_manual.fo:204:64: An 'include' failed, and no
'fallback' element was found.
Jul 7, 2010 9:13:21 AM org.apache.fop.cli.Main startFOP
SEVERE: Exception
javax.xml.transform.TransformerException:
org.xml.sax.SAXParseException: An 'include' failed, and no 'fallback'
element was found.
	at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:302)
	at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:130)
	at org.apache.fop.cli.Main.startFOP(Main.java:174)
	at org.apache.fop.cli.Main.main(Main.java:205)
Caused by: javax.xml.transform.TransformerException:
org.xml.sax.SAXParseException: An 'include' failed, and no 'fallback'
element was found.
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:501)
	at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:299)
	... 3 more
Caused by: org.xml.sax.SAXParseException: An 'include' failed, and no
'fallback' element was found.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
	... 4 more

After I regained the internet, fop again worked fine.  I have checked
all my fop configuration files and see nothing that indicates needing
the internet.

Any ideas?

Thanks.

-Tom

Thomas M. Browder, Jr.
Niceville, Florida
USA

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Fop XInclude Failure with Lost Internet

Posted by Tom Browder <to...@gmail.com>.
On Thu, Jul 8, 2010 at 07:18, Tom Browder <to...@gmail.com> wrote:
> On Thu, Jul 8, 2010 at 01:26,  <la...@swedbank.se> wrote:
>> Well there might be a reference to Internet in your svg file´s Doctype, e.g.:
>> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
>> I´ve had similar experience when not updating my catalog resolver and inadvertently introducing some new reference.
>
> That must be it.  How can I use my catalog to eliminate the problem?

Never mind--Bob Stayton's book explains it on page 48.

Thanks,

-Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Fop XInclude Failure with Lost Internet

Posted by Tom Browder <to...@gmail.com>.
On Thu, Jul 8, 2010 at 01:26,  <la...@swedbank.se> wrote:
> Well there might be a reference to Internet in your svg file´s Doctype, e.g.:
> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
> I´ve had similar experience when not updating my catalog resolver and inadvertently introducing some new reference.

That must be it.  How can I use my catalog to eliminate the problem?

-Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


SV: Fop XInclude Failure with Lost Internet

Posted by la...@swedbank.se.
Well there might be a reference to Internet in your svg file´s Doctype, e.g.:
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
I´ve had similar experience when not updating my catalog resolver and inadvertently introducing some new reference.

Regards Lars

-----Ursprungligt meddelande-----
Från: Tom Browder [mailto:tom.browder@gmail.com] 
Skickat: den 7 juli 2010 16:40
Till: fop-users@xmlgraphics.apache.org
Ämne: Fop XInclude Failure with Lost Internet

I have an svg file included in my DocBook style sheet customization
file and it has worked fine up until this morning when I lost my
internet connection.

I then got the following error (using the trunk):

[Warning] value_user_manual.fo:204:64: Include operation failed,
reverting to fallback. Resource error reading file as XML
(href='./images/value-xhairs-only.svg'). Reason: www.w3.org
[Fatal Error] value_user_manual.fo:204:64: An 'include' failed, and no
'fallback' element was found.
Jul 7, 2010 9:13:21 AM org.apache.fop.cli.Main startFOP
SEVERE: Exception
javax.xml.transform.TransformerException:
org.xml.sax.SAXParseException: An 'include' failed, and no 'fallback'
element was found.
	at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:302)
	at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:130)
	at org.apache.fop.cli.Main.startFOP(Main.java:174)
	at org.apache.fop.cli.Main.main(Main.java:205)
Caused by: javax.xml.transform.TransformerException:
org.xml.sax.SAXParseException: An 'include' failed, and no 'fallback'
element was found.
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:501)
	at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:299)
	... 3 more
Caused by: org.xml.sax.SAXParseException: An 'include' failed, and no
'fallback' element was found.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
	... 4 more

After I regained the internet, fop again worked fine.  I have checked
all my fop configuration files and see nothing that indicates needing
the internet.

Any ideas?

Thanks.

-Tom

Thomas M. Browder, Jr.
Niceville, Florida
USA

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org