Re: Problem with fop

2003-02-21 Thread Jochen . Maes

Ok

Isabelle, There is a property in the IIS5.0 manager that lets you geve
access to certain actions (run scripts execute all etc).
Make sure this is set to run all...

Furthermore, i would strongly recommend using a servlet. It isn't difficult
to set up (nice examples) and it will make your life lots easier...

I know sometimes it is simply not possible but if it is, go for that.

I'm most willing to help in case you need java support

greetings

Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.


   

"Isabel

Fuentes" To: [EMAIL PROTECTED]

           Subject: Re: Problem with fop 

   

21/02/2003 

14:33  

Please 

respond to 

fop-dev

   

   





I've a web application developed in ASP, XML and XSL thecnology and I
execute fop.bat from ASP file.



- Original Message -
From: "Jeremias Maerki" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 21, 2003 2:21 PM
Subject: Re: Problem with fop


> Oh, there's some interesting bit of information: How exactly do you call
> fop.bat from Internet Explorer? Strikes me as an odd thing to do? What
> are you trying to accomplish? Or are you using a servlet and Acrobat
> Reader has a problem starting up inside Internet Explorer?
>
>
> On 21.02.2003 14:16:11 Isabel Fuentes wrote:
> > I've download fop-0.20.5rc2. and I've read the release notes but I've a
> > problem again.
> > If I execute fop.bat from command line it works fine, however if I do
it
> > from Internet Explorer 6 SP 1 I get the following error message: "Error
> > creating process Denied Access"
>
>
> Jeremias Maerki
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad

Re: Problem with fop

2003-02-21 Thread Isabel Fuentes
I've a web application developed in ASP, XML and XSL thecnology and I
execute fop.bat from ASP file.



- Original Message -
From: "Jeremias Maerki" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 21, 2003 2:21 PM
Subject: Re: Problem with fop


> Oh, there's some interesting bit of information: How exactly do you call
> fop.bat from Internet Explorer? Strikes me as an odd thing to do? What
> are you trying to accomplish? Or are you using a servlet and Acrobat
> Reader has a problem starting up inside Internet Explorer?
>
>
> On 21.02.2003 14:16:11 Isabel Fuentes wrote:
> > I've download fop-0.20.5rc2. and I've read the release notes but I've a
> > problem again.
> > If I execute fop.bat from command line it works fine, however if I do it
> > from Internet Explorer 6 SP 1 I get the following error message: "Error
> > creating process Denied Access"
>
>
> Jeremias Maerki
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Problem with fop

2003-02-21 Thread Jochen . Maes

sorry didn't see this one before..

I run fop-20.3 without any problem...

greetings...



Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.


   

"Isabel

Fuentes" To: [EMAIL PROTECTED]

       Subject:     Re: Problem with fop 

   

21/02/2003 

11:52  

Please 

respond to 

fop-dev

   

   





Hi,

I'm running the process as administrator, the XP Pro.

What version FOP are you running? I`ve upgrading the FOP version to
fop-20.3, the following message error appears:
"[ERROR]  'master-reference' for 'fo:page-sequence' matches no
'simple-page-master' or 'page-sequence-master' ".
I've changed 'masters-name' by 'masters-reference'.

Thanks


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 21, 2003 9:45 AM
Subject: Re: Problem with fop


>
> hi Isabelle,
>
>
> I'm not from Apache but i work on XP with FOP.
> Are you running Xp Home or XP Pro
> Are you running the process as a normal user, or as a superuser (i think
> the XP word is computer administrator)?
>
> i had the problem when i used the application as a normal user, but as
> computer administor i can work with FOP without any troubles...
>
> If you're a normal user you might wan't to check if you can use the JVM
>
> i hope this gives you more options and helps you out.
>
> Don't hesitate to  ask more questions...
>
>
> greetings
>
> Jochen Maes
> ICT Development
>
>
> KBC Securities (kbcsecurities.com)
> Havenlaan 12 Avenue du Port SIF 8683
> B-1080 Brussels
> Belgium
>
>  Tel:  +32 2 429 96 81
>
>  GSM:  +32 496 57 90 99
>
>  E-mail :  [EMAIL PROTECTED]
>
>
>
>
>
> This message and any attachments hereto are for the named person's use
> only. It may contain confidential, proprietary or legally privileged
> inf

Re: Problem with fop

2003-02-21 Thread Jeremias Maerki
Oh, there's some interesting bit of information: How exactly do you call
fop.bat from Internet Explorer? Strikes me as an odd thing to do? What
are you trying to accomplish? Or are you using a servlet and Acrobat
Reader has a problem starting up inside Internet Explorer?


On 21.02.2003 14:16:11 Isabel Fuentes wrote:
> I've download fop-0.20.5rc2. and I've read the release notes but I've a
> problem again.
> If I execute fop.bat from command line it works fine, however if I do it
> from Internet Explorer 6 SP 1 I get the following error message: "Error
> creating process Denied Access"


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Problem with fop

2003-02-21 Thread Jochen . Maes

what do you mean with doing it from the internet explorer?

You mean from a servlet? or after browsing your local drives in internet
explorer?


Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.


   

"Isabel

Fuentes" To: [EMAIL PROTECTED]

   Subject:     Re: Problem with fop 

   

21/02/2003 

14:16  

Please 

respond to 

fop-dev

   

   





Hi,

I've download fop-0.20.5rc2. and I've read the release notes but I've a
problem again.
If I execute fop.bat from command line it works fine, however if I do it
from Internet Explorer 6 SP 1 I get the following error message: "Error
creating process Denied Access"

- Original Message -
From: "Jeremias Maerki" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 21, 2003 12:11 PM
Subject: Re: Problem with fop


> 0.20.3 is still a pretty old version. Download 0.20.4 or 0.20.5rc2. And
> please read the release notes under
http://xml.apache.org/fop/relnotes.html.
>
> On 21.02.2003 11:52:17 Isabel Fuentes wrote:
> > Hi,
> >
> > I'm running the process as administrator, the XP Pro.
> >
> > What version FOP are you running? I`ve upgrading the FOP version to
> > fop-20.3, the following message error appears:
> > "[ERROR]  'master-reference' for 'fo:page-sequence' matches no
> > 'simple-page-master' or 'page-sequence-master' ".
> > I've changed 'masters-name' by 'masters-reference'.
>
>
> Jeremias Maerki
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Problem with fop

2003-02-21 Thread Isabel Fuentes
Hi,

I've download fop-0.20.5rc2. and I've read the release notes but I've a
problem again.
If I execute fop.bat from command line it works fine, however if I do it
from Internet Explorer 6 SP 1 I get the following error message: "Error
creating process Denied Access"

- Original Message -
From: "Jeremias Maerki" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 21, 2003 12:11 PM
Subject: Re: Problem with fop


> 0.20.3 is still a pretty old version. Download 0.20.4 or 0.20.5rc2. And
> please read the release notes under
http://xml.apache.org/fop/relnotes.html.
>
> On 21.02.2003 11:52:17 Isabel Fuentes wrote:
> > Hi,
> >
> > I'm running the process as administrator, the XP Pro.
> >
> > What version FOP are you running? I`ve upgrading the FOP version to
> > fop-20.3, the following message error appears:
> > "[ERROR]  'master-reference' for 'fo:page-sequence' matches no
> > 'simple-page-master' or 'page-sequence-master' ".
> > I've changed 'masters-name' by 'masters-reference'.
>
>
> Jeremias Maerki
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Problem with fop

2003-02-21 Thread Jeremias Maerki
0.20.3 is still a pretty old version. Download 0.20.4 or 0.20.5rc2. And
please read the release notes under http://xml.apache.org/fop/relnotes.html.

On 21.02.2003 11:52:17 Isabel Fuentes wrote:
> Hi,
> 
> I'm running the process as administrator, the XP Pro.
> 
> What version FOP are you running? I`ve upgrading the FOP version to
> fop-20.3, the following message error appears:
> "[ERROR]  'master-reference' for 'fo:page-sequence' matches no
> 'simple-page-master' or 'page-sequence-master' ".
> I've changed 'masters-name' by 'masters-reference'.


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Problem with fop

2003-02-21 Thread Isabel Fuentes
Hi,

I'm running the process as administrator, the XP Pro.

What version FOP are you running? I`ve upgrading the FOP version to
fop-20.3, the following message error appears:
"[ERROR]  'master-reference' for 'fo:page-sequence' matches no
'simple-page-master' or 'page-sequence-master' ".
I've changed 'masters-name' by 'masters-reference'.

Thanks


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 21, 2003 9:45 AM
Subject: Re: Problem with fop


>
> hi Isabelle,
>
>
> I'm not from Apache but i work on XP with FOP.
> Are you running Xp Home or XP Pro
> Are you running the process as a normal user, or as a superuser (i think
> the XP word is computer administrator)?
>
> i had the problem when i used the application as a normal user, but as
> computer administor i can work with FOP without any troubles...
>
> If you're a normal user you might wan't to check if you can use the JVM
>
> i hope this gives you more options and helps you out.
>
> Don't hesitate to  ask more questions...
>
>
> greetings
>
> Jochen Maes
> ICT Development
>
>
> KBC Securities (kbcsecurities.com)
> Havenlaan 12 Avenue du Port SIF 8683
> B-1080 Brussels
> Belgium
>
>  Tel:  +32 2 429 96 81
>
>  GSM:  +32 496 57 90 99
>
>  E-mail :  [EMAIL PROTECTED]
>
>
>
>
>
> This message and any attachments hereto are for the named person's use
> only. It may contain confidential, proprietary or legally privileged
> information. You may not, directly or indirectly, use, disclose,
> distribute, print, or copy any part of this message if you are not the
> intended recipient. If you have received this e-mail message without being
> the intended recipient, please notify KBC Securities promptly and delete
> this e-mail. Any views expressed in this message are those of the
> individual sender, except where the message states otherwise and the
sender
> is authorised to state them to be the views of KBC Securities. KBC
> Securities reserves the right to monitor all e-mail communications through
> its networks and any messages addressed to, received or sent by KBC
> Securities or its employees are deemed to be professional in nature. The
> sender or recipient of any messages to or of KBC Securities agrees that
> those may be read by other employees of KBC Securities than the stated
> recipient or sender in order to ensure the continuity of work-related
> activities and allow supervision thereof. KBC Securities does not accept
> liability for the correct and complete transmission of the information,
nor
> for any delay or interruption of the transmission, nor for damages arising
> from the use of, or reliance on, the information.
>
>
>
> "Isabel
> Fuentes" To: [EMAIL PROTECTED]
>  vasoft.es>   Subject: Problem with fop
>
> 21/02/2003
> 09:43
> Please

> respond to
> fop-dev
>
>
>
>
>
>
> Dear sir/madam of xml.apache.org,
>
>  I'm writing to you in order to know if you could help me with the
> following problem:
>
>  I'm working with fop-0,20.1 version to create a pdf document using xml
and
> xslt, but when I install the application into a computer with Windows XP,
> the following message error appears:
>
>
>   "Error creating process, Denied access."
>
>
>  With Windows NT or Windows 2000, the operation runs without any problem
> and the pdf document is created successfully.
>
>  I'd really appreciate any help.
>
>  Yours faithfully,
>
> Isabel
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Problem with fop

2003-02-21 Thread Jeremias Maerki
I'm working with FOP on Windows XP and have absolutely no problems. I
suggest you contact your Domain administrator to sort out security
restrictions on your machine. This problem, anyway, has nothing to do
with FOP directly.

By the way, you should consider upgrading your FOP version. (not that
this would solve your immediate problem)

On 21.02.2003 09:43:47 Isabel Fuentes wrote:
>  I'm writing to you in order to know if you could help me with the following problem:
> 
>  I'm working with fop-0,20.1 version to create a pdf document using xml and xslt, 
>but when I install the application into a computer with Windows XP, the following 
>message error appears:
> 
> 
>   "Error creating process, Denied access."
> 
> 
>  With Windows NT or Windows 2000, the operation runs without any problem and the pdf 
>document is created successfully.


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Problem with fop

2003-02-21 Thread Jochen . Maes

hi Isabelle,


I'm not from Apache but i work on XP with FOP.
Are you running Xp Home or XP Pro
Are you running the process as a normal user, or as a superuser (i think
the XP word is computer administrator)?

i had the problem when i used the application as a normal user, but as
computer administor i can work with FOP without any troubles...

If you're a normal user you might wan't to check if you can use the JVM

i hope this gives you more options and helps you out.

Don't hesitate to  ask more questions...


greetings

Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.


   

"Isabel

Fuentes" To: [EMAIL PROTECTED]

   Subject: Problem with fop 

   

21/02/2003 

09:43  

Please 

respond to 

fop-dev

   

   





Dear sir/madam of xml.apache.org,

 I'm writing to you in order to know if you could help me with the
following problem:

 I'm working with fop-0,20.1 version to create a pdf document using xml and
xslt, but when I install the application into a computer with Windows XP,
the following message error appears:


  "Error creating process, Denied access."


 With Windows NT or Windows 2000, the operation runs without any problem
and the pdf document is created successfully.

 I'd really appreciate any help.

 Yours faithfully,

Isabel




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: problem with fop 20.3

2002-02-20 Thread Sami, Abdul (Netprosys)

Change the attribute name of master-name to master-reference
Old:mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 5:08 AM
To: Apache Mailinglist (E-Mail)
Subject: problem with fop 20.3


hi !

i'm using fop 20.3.

i get an error message, saying:
'master-reference' for 'fo:page-sequence' matches no 'simple-page-master' or
'page-sequence-master'
( with fop 20.1 and exactly the same file, i have no error messages )

here's the code:

http://www.w3.org/1999/XSL/Format";>










lots of stuff here





anybody know what i have to change to get it running with version 20.3 ?


greetings

Nick Winger


(Software-Developer)
==
VANGUARD Software GmbH
Julius Tandler Platz 8
1090 Vienna, AUSTRIA

Phone: +43-1-3195263-20
Fax:   +43-1-3195263-90
http://www.vanguard.at
==



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: problem with fop 20.3

2002-02-20 Thread Jeremias Maerki

Nick

I think it's time you change to the fop-user mailing list for these kind
of questions. And as a reminder there are wonderful mailing list
archives around to get your answers. See:
http://xml.apache.org/fop/resources.html

Anyway, you need to change "master-name" to "master-reference". This has
changed in the XSL:FO Recommendation.

> anybody know what i have to change to get it running with version 20.3 ?

Cheers,
Jeremias Märki

mailto:[EMAIL PROTECTED]

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Fon +41 41 317 20 20 - Fax +41 41 317 20 29
Internet http://www.outline.ch


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Problem with FOP 0.20.0 when using the ContentHandler to feed SAX events...

2001-08-14 Thread Peter Jacobs


> Peter,
>
> It works fine if you use one of the render methods...
> which I can't since I'm firing SAX events myself.
> sadly using the ContentHandler returned by
> driver.getContentHandler() throws a NullPointerException
> (as I explained in my previous mails).

sorry, should read more carefully before posting.
I am only using FOP on a basic level...

> PS: Nice to see other belgians out here :).
>
There seem to be quite a few belgians on this list. Maybe we could set up a
local FOP evangelization group :-)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Problem with FOP 0.20.0 when using the ContentHandler to feed SAX events...

2001-08-14 Thread Michel Lehon

Peter,

It works fine if you use one of the render methods...
which I can't since I'm firing SAX events myself.
sadly using the ContentHandler returned by
driver.getContentHandler() throws a NullPointerException
(as I explained in my previous mails).

The Docs you a refering to (and the ones in 0.20.0, I did not check 0.20.1
yet)
are outdated (i.e. they still talk about the driver.format() method).

Michel.

PS: Nice to see other belgians out here :).


> -Original Message-
> From: Peter Jacobs [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 14 August, 2001 11:25
> To: [EMAIL PROTECTED]
> Subject: RE: Problem with FOP 0.20.0 when using the ContentHandler to
> feed SAX events...
>
>
> Hi,
>
> as far as I understand, there has been a change in the public API
> because of
> Mark's patch, so the old method doesn't work anymore.
>
> You can see the new code in examples/embedding. It works fine for me.
> or more info:
> http://xml.apache.org/fop/embedding.html
>
>
> BTW: the html-docs included in the FOP_0_20 distribution are for FOP 0.18
> ???
>
> Peter
> 
> Peter Jacobs
> Freelance multimedia programmeur
> De Budetstraat 8
> B-3201 Aarschot
> [EMAIL PROTECTED]
> 016/573257
>
>
> > -Original Message-
> > From: Michel Lehon [mailto:[EMAIL PROTECTED]]
> > Sent: maandag 13 augustus 2001 15:24
> > To: [EMAIL PROTECTED]
> > Subject: Problem with FOP 0.20.0 when using the ContentHandler to feed
> > SAX events...
> >
> >
> > Hi,
> >
> > I just upgraded our program to use FOP 0.20.0
> > We embedded FOP and used the old official method to call it.
> >
> > I mean using somthing like this :
> > Driver driver = new Driver();
> > driver.setRenderer(Driver.RENDER_PDF);
> > ByteArrayOutputStream out = new ByteArrayOutputStream();
> > driver.setOutputStream(out);
> >
> > ContentHandler cnth = driver.getContentHandler();
> > sendSAXEvents(cnth);
> >
> > driver.format();
> > driver.render();
> >
> > byte[] content = out.toByteArray();
> >
> > However this not longer works with 0.20.0
> > for a few reasons:
> > 1°) there is no driver.format() method.
> > 2°) there is no driver.render() method (there are two version with
> > parameters).
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Problem with FOP 0.20.0 when using the ContentHandler to feed SAX events...

2001-08-14 Thread Peter Jacobs

Hi,

as far as I understand, there has been a change in the public API because of
Mark's patch, so the old method doesn't work anymore.

You can see the new code in examples/embedding. It works fine for me.
or more info:
http://xml.apache.org/fop/embedding.html


BTW: the html-docs included in the FOP_0_20 distribution are for FOP 0.18
???

Peter

Peter Jacobs
Freelance multimedia programmeur
De Budetstraat 8
B-3201 Aarschot
[EMAIL PROTECTED]
016/573257


> -Original Message-
> From: Michel Lehon [mailto:[EMAIL PROTECTED]]
> Sent: maandag 13 augustus 2001 15:24
> To: [EMAIL PROTECTED]
> Subject: Problem with FOP 0.20.0 when using the ContentHandler to feed
> SAX events...
>
>
> Hi,
>
> I just upgraded our program to use FOP 0.20.0
> We embedded FOP and used the old official method to call it.
>
> I mean using somthing like this :
> Driver driver = new Driver();
> driver.setRenderer(Driver.RENDER_PDF);
> ByteArrayOutputStream out = new ByteArrayOutputStream();
> driver.setOutputStream(out);
>
> ContentHandler cnth = driver.getContentHandler();
> sendSAXEvents(cnth);
>
> driver.format();
> driver.render();
>
> byte[] content = out.toByteArray();
>
> However this not longer works with 0.20.0
> for a few reasons:
> 1°) there is no driver.format() method.
> 2°) there is no driver.render() method (there are two version with
> parameters).
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Problem with FOP 0.20.0 when using the ContentHandler to feed SAX events...

2001-08-14 Thread Michel Lehon

Hi,

I noticed that I did not update some of the comments in the Javadoc
to reflect the changes I made...
If those changes are accepted, I'll be glad to update the Comments
and take a look at some of the docs about embedding.

Michel.

> -Original Message-
> From: Michel Lehon [mailto:[EMAIL PROTECTED]]
> Sent: Monday, 13 August, 2001 15:24
> To: [EMAIL PROTECTED]
> Subject: Problem with FOP 0.20.0 when using the ContentHandler to feed
> SAX events...
>
>
> Hi,
>
> I just upgraded our program to use FOP 0.20.0
> We embedded FOP and used the old official method to call it.
>
> I mean using somthing like this :
> Driver driver = new Driver();
> driver.setRenderer(Driver.RENDER_PDF);
> ByteArrayOutputStream out = new ByteArrayOutputStream();
> driver.setOutputStream(out);
>
> ContentHandler cnth = driver.getContentHandler();
> sendSAXEvents(cnth);
>
> driver.format();
> driver.render();
>
> byte[] content = out.toByteArray();
>
> However this not longer works with 0.20.0
> for a few reasons:
> 1°) there is no driver.format() method.
> 2°) there is no driver.render() method (there are two version with
> parameters).
>
> Still removing those two method calls still does not work as
> using the ContentHandler returned by driver.getContentHandler
> generates a NullPointException because the
> _treeBuilder.setStreamRenderer(streamRenderer)
> is not called (and the FOTreeBuilder needs it).
>
> so I changed a few lines in Driver.java to fix this...
> I added a method driver.prepareRender() that setups the _treeBuilder
> I changed both render method to use the new prepareRender
> so my program now looks like this (and works).
>
> Driver driver= new Driver();
> driver.setRenderer(Driver.RENDER_PDF);
> ByteArrayOutputStream out = new ByteArrayOutputStream();
> driver.setOutputStream(out);
> driver.prepareRender();
>
> ContentHandler cnth = driver.getContentHandler();
> sendSAXEvents(cnth);
>
> byte[] content = out.toByteArray();
>
> What do you think ? Was it a good idea ? anyother idea on how to acheive
> this ?
>
> I though about putting back the render() method (without
> parameters), but I
> tough it was
> weird as it would need to be called before the SAX events are generated.
>
> Michel Lehon
> [EMAIL PROTECTED]
> SAS Data Warehousing and Web Enablement.
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]