xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathieu Malaterre <mathieu.malate...@gmail.com>
Subject javax.xml.transform.TransformerException: The entity name must immediately follow the '&' in the entity reference.
Date Thu, 08 Apr 2010 17:00:05 GMT
Hi there,

  I do not understand what I am doing wrong in the following xml file:


<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<article>
  <section>
  <title>
  bla
</title>
<para>
223c: &223C;
</para>
</section>
</article>

$ fop -xsl /usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl
-xml hex.xml -pdf t.pdf
/home/mathieu/.foprc: line 1: find_jars: command not found
Apr 8, 2010 7:07:22 PM org.apache.fop.cli.Main startFOP
SEVERE: Exception
javax.xml.transform.TransformerException: The entity name must
immediately follow the '&' in the entity reference.
	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)

---------

; SystemID: file:/home/mathieu/Projects/Documentation/bin/hex.xml;
Line#: 9; Column#: 8
javax.xml.transform.TransformerException: The entity name must
immediately follow the '&' in the entity reference.
	at org.apache.xalan.transformer.TransformerImpl.fatalError(TransformerImpl.java:780)
	at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:756)
	at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1284)
	at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1262)
	at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:299)
	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)

Thanks for comments,
-- 
Mathieu

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


Mime
View raw message