  | |  | How to use XSL-FOP-Java together | How to use XSL-FOP-Java together 2003-12-29 - By Rodolfo M. Raya
Back On Mon, 2003-12-29 at 08:11, "Crist??bal Ruiz, Oscar" wrote: > Hi there. > I dont get to tranform directly from XML to a PDF file. > I tried to execute the simplest example... but I cannot do it. > I get this exception: Content is not allowed in prolog. > What is the meaning of that?Hi Oscar,
I saw this error many, many times. I bet that there is an Unicode mark _before_ your xml declaration.
Open your file with a _real_ text editor like VIM (not with Notepad or Wordpad) and check the first bytes. It is possible that you find something like:
????<?xml version="1.0"
Get rid of the first two bytes and your file will be fine.
Hope this helps, Rodolfo -- Rodolfo M. Raya <rodolfo@(protected)> Heartsome Holdings Pte.Ltd.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: fop-user-unsubscribe@(protected) For additional commands, e-mail: fop-user-help@(protected)
Earn $52 per hosting referral at Lunarpages.
|
|
 |