|
I think UTF-16 is not yet supported by FOP
(UTF-8 since 0.20.3)
Maybe your problem is here.
----- Original Message -----
Sent: Thursday, April 25, 2002 3:06
PM
Subject: AW: Root element trouble
Hello,
I
had the same problem. It sounds a bit strange: Delete the
xml-declaration line and all runs fine. But I don´t know what to do, if you
don´t want to delete the declaration...
André
FOP doesn't seem to be recognizing the
root element in my fo doc.
I've followed the recommendations in
other mailings, but still no results. The examples that came with Fop
run fine. I can't see how my fo doc is any different from them.
Someone enlighten me please.
Here are the error message and
some lines from my fo doc.
<!-- Fop output
--> [INFO]: FOP 0.20.3 [INFO]: building
formatting object tree [ERROR]: Unknown formatting object ^ [ERROR]:
Root element must be
root, not (none):
<!-- The first couple of lines in my FO document, which was
created by MSXML 4 -->
<?xml version="1.0" encoding="UTF-16"?><fo:root
I'd appreciate any
help. |