You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Rita Greenberg <rg...@medata.com> on 2011/09/08 22:18:14 UTC

Files Was Unexpected At This Time

Hello.

I've successfully upgraded FOP 0.20.5 to FOP 1.0 on my Windows XP SP3 computer.
I'm able to generate my PDF files as required.

The same files on a Windows 7 64 Bit SP1 computer is giving me this error 
"Files was unexpected at this time" when I execute the fop.bat file in the 
fop-1.0 folder.

Here is my command to start FOP:
fop -r -xsl c:\ms\sxml\xml_med7_default_pdf.fo -xml 
c:\ms\sxml\2011090111424095RITA01.XML -pdf c:\ms\sxml\2011090111424095RITA01.PDF

Any suggestions will be greatly appreciated!

Thanks,
Rita


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


Re: Files Was Unexpected At This Time

Posted by Rita Greenberg <rg...@medata.com>.
Pascal Sancho <pascal.sancho <at> takoma.fr> writes:

> 
> Hi Rita,
> "was unexpected at this time" is usually thrown by the Win batch
> interpretor.
> You should investigate on that direction.
> 
> Le 08/09/2011 22:18, Rita Greenberg a écrit :

Thanks so much Pascal. I googled Win Batch Interpretor and found a page which 
suggested I set @ECHO ON in my batch file. I then ran the batch file and 
noticed that I had double quotes around an environment variable for JAVA_HOME.
That was my problem!


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


Re: Files Was Unexpected At This Time

Posted by Pascal Sancho <pa...@takoma.fr>.
Hi Rita,
"was unexpected at this time" is usually thrown by the Win batch
interpretor.
You should investigate on that direction.

Le 08/09/2011 22:18, Rita Greenberg a écrit :
> Hello.
> 
> I've successfully upgraded FOP 0.20.5 to FOP 1.0 on my Windows XP SP3 computer.
> I'm able to generate my PDF files as required.
> 
> The same files on a Windows 7 64 Bit SP1 computer is giving me this error 
> "Files was unexpected at this time" when I execute the fop.bat file in the 
> fop-1.0 folder.
> 
> Here is my command to start FOP:
> fop -r -xsl c:\ms\sxml\xml_med7_default_pdf.fo -xml 
> c:\ms\sxml\2011090111424095RITA01.XML -pdf c:\ms\sxml\2011090111424095RITA01.PDF
> 
> Any suggestions will be greatly appreciated!
> 
> Thanks,
> Rita

-- 
Pascal

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