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é
-----Ursprüngliche Nachricht-----
Von: Matthew Huggett [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 25. April 2002 14:52
An: [EMAIL PROTECTED]
Betreff: Root element trouble

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.

Reply via email to