Re: xX mM lL ERROR

2008-12-11 Thread nalin chandra

Hi Harish

This is very common error. You check your fo table syntex. may be you miss
some things.

the main problem is common decorator where you create a template for pdf
file some time user did the mistake at that place, means you not design the
page as per the template. 

So first you check the screen-decorator template after that check screen is
proper for that template, then check run the request without content fo.ftl
file. if pdf page is open then you must miss the fo table syntax.

I hope this will work for you.
other wise you send the file i will trace your error.



harish84 wrote:
> 
> when i try to convert ftl file into pdf i am getting error as sax
> transform exception xml files must be terminated  by same entity.
> 
> javax.xml.transform.TransformerException: org.xml.sax.SAXParseException:
> XML document structures must start and end within the same entity.
> 

-- 
View this message in context: 
http://www.nabble.com/xX-mM-lL-ERROR-tp20916781p20954393.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: xX mM lL ERROR

2008-12-09 Thread Erwan de FERRIERES

Not sure, but it's an error in your fo.ftl file.
You must have a "&" somewhere, or it can also be a ">" missing.
We've have got the same error, but I can't remember where...

HTH

harish84 a écrit :

when i try to convert ftl file into pdf i am getting error as sax transform
exception xml files must be terminated  by same entity.


--
- Erwan -


Re: xX mM lL ERROR

2008-12-09 Thread Sumit Pandit
Harish, 

There are some examples available in OFBiz which give you direction how to 
convert ftl to pdf. (I am sure that you already consulted them.) Like in view 
order page there is link to save order in pdf format. 
Please trace it. I am sure that tt will help you. And you get your out put. 


* Don't forgot to include the handler in controller. 

-- 
Thanks 
Sumit Pandit 




- Original Message - 
From: "harish84" <[EMAIL PROTECTED]> 
To: user@ofbiz.apache.org 
Sent: Tuesday, December 9, 2008 8:48:14 PM GMT +05:30 Chennai, Kolkata, Mumbai, 
New Delhi 
Subject: xX mM lL ERROR 


when i try to convert ftl file into pdf i am getting error as sax transform 
exception telling that xml files must be terminated by same entity. 
-- 
View this message in context: 
http://www.nabble.com/how-to-display-jsp-page-by-using-bsh-instead-of-ftl-tp20886168p20916549.html
 
Sent from the OFBiz - User mailing list archive at Nabble.com. 



Re: xX mM lL ERROR

2008-12-09 Thread Abhishake Agarwal
There may be a syntax error in your fo.ftl

On Tue, Dec 9, 2008 at 8:55 PM, harish84 <[EMAIL PROTECTED]> wrote:

>
> when i try to convert ftl file into pdf i am getting error as sax transform
> exception xml files must be terminated  by same entity.
> --
> View this message in context:
> http://www.nabble.com/xX-mM-lL-ERROR-tp20916781p20916781.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>


xX mM lL ERROR

2008-12-09 Thread harish84

when i try to convert ftl file into pdf i am getting error as sax transform
exception xml files must be terminated  by same entity.
-- 
View this message in context: 
http://www.nabble.com/xX-mM-lL-ERROR-tp20916781p20916781.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



xX mM lL ERROR

2008-12-09 Thread harish84

when i try to convert ftl file into pdf i am getting error as sax transform
exception telling that xml files must be terminated by same entity.
-- 
View this message in context: 
http://www.nabble.com/how-to-display-jsp-page-by-using-bsh-instead-of-ftl-tp20886168p20916549.html
Sent from the OFBiz - User mailing list archive at Nabble.com.