You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Justus Brugman <br...@kpmg-ct.com> on 2004/03/26 11:30:30 UTC
Lenya and pdf
Hi,
I use the tutorial on
http://cocoon.apache.org/2.1/howto/howto-html-pdf-publishing.html
for learning how to generate pdf-output with lenya.
All works fine, but if i refer to my working published lenya site, i
get the error:
The declaration for the entity "HTML.Version" must end with '>'.
However, in my source, i see it's properly formed:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
i added the following map:
<map:match pattern="test.pdf">
<map:generate src="http://localhost:8080/lenya/mypub/live/?_fl=xml"/>
<map:transform src="doc2pdf.xsl"/>
<map:serialize type="fo2pdf"/>
</map:match>
Any ideas?
Thanks,
Justus
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Lenya and pdf
Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
Hello Justus,
Justus Brugman wrote:
>All works fine, but if i refer to my working published lenya site, i
>get the error:
>The declaration for the entity "HTML.Version" must end with '>'.
>
>However, in my source, i see it's properly formed:
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>"http://www.w3.org/TR/html4/loose.dtd">
>
>
Did u tried
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
I mean the same that u have right now but in ONE line! I had this problem as well and that was the solution! Maybe it works for u as well. If not try
<!DOCTYPE HTML PUBLIC "-//w3c//dtd html 4.0 transitional//en">
HTH
thorsten
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org