Re: Images and https

2005-03-07 Thread J.Pietschmann
[EMAIL PROTECTED] wrote:
I have a problem in retrieving images in FOP through https.Has anyone
encountered this ? We are using WAS 5.1 and FOP 0.2.05.
What problem do you actually have? There are lots of
things which can go wrong with HTTPS.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Memory Usage when having Large Number ofTables in FO

2005-03-07 Thread J.Pietschmann
Ram Krishnamoorthi wrote:
Hello,
After reading through some threads, I understand there
is memory hogging when there are several tables in the
FO. Are there Memory Leaks when using Tables? I am
using FOP 2.0.5  
Well, not exactly memory leaks but tables lock memory
longer than necessary. In most cases memory needed for
layout is released after a page has been completely rendered,
but memory used to compute the layout for table content is
not released until the page sequence containing the table is
completely rendered.
Your options:
- Don't use tables, which might mean losing necessary features.
- Use more page sequences, which may also run against required
 layout features.
- Get the latest code from the FOP CVS maintenance branch,
 which contains a patch for earlier releasing memory hold
 by tables. This might give you run time errors, so test
 carefully and thoroughly
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Default stylesheet

2005-03-07 Thread Roland Neilands
Glen,

Thanks, I will just have to pass another tag through  keep using -xsl then.

Regards,
Roland

 -Original Message-
 From: Glen Mazza [mailto:[EMAIL PROTECTED]
 Sent: Friday, 4 March 2005 2:17 PM
 To: [EMAIL PROTECTED]
 Subject: RE: Default stylesheet
 
 
 --- Roland Neilands [EMAIL PROTECTED]
 wrote:
 
  [ERROR] Expected XSL-FO (root, page-sequence, etc.),
  SVG (svg, rect, etc.) or el
  ements from another supported language.
  
  I think FOP can do it, it just needs to not set the
  -xsl flag and/or this error turned into a warning:
  [ERROR] XSLT file must be specified for the
  tranform mode
  ie let xalan spit the error if there's no processing
  instruction.
  
 
 But the user is not necessarily using Xalan, we use
 JAXP internally, which is XSLT-processor-agnostic, and
 I'm unsure but doubtful that the xml-stylesheet
 processing instruction can be supported by JAXP.
 
 Best option here is to just specify -xsl { filename }
 at the command line, just use the filename you have in
 the XML document.  That's what all the other
 command-line users do, whether or not they bother with
 the xml-stylesheet PI.  Apparently xml-stylesheet[1] 
 is mainly for browsers anyway.
 
 HTH,
 Glen
 
 [1] http://www.dpawson.co.uk/xsl/sect2/N6145.html#d7755e169
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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



Re: How do you switch between page-sequences?

2005-03-07 Thread Chris Bowditch
Talken, Patrick (AGRE) wrote:
Is it possible to switch between page-sequences based on an xml tag?
What I need to have is a document that starts with pages in portrait and
then at some point in the document switch to landscape for an unknown
number of pages and then back into portrait for an unknown number of
pages. The switching between portrait and landscape and then back to
portrait will be determined by the presence or absence of the tag
xmltable.
If xmltag present use page-sequence for landscape
If xmltag is not present use page-sequence for portrait
Hi Patrick,
your question is a pure XSLT question and the lack of response is because this 
sort of question is better suited to an XSLT list. Try posting on the mulberry 
list:

http://lists.mulberrytech.com/xsl-list/
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: How do you switch between page-sequences?

2005-03-07 Thread Dennis Myrén
Patrick, 

Although next time you might consider posting a such question to a pure XSLT 
newsgroup/mailing list;

You can have to simple-page-master, one defining a portrait layout and the 
other defining the
landscape layout. Name one portrait and the other landscape.

Then you can have something like:
xsl:template match=XMLTABLE_PARENT_NODE
fo:page-sequence
xsl:attribute name=master-reference
xsl:choose
xsl:when test=0 = 
count(xmltable)portrait/xsl:when
xsl:otherwiselandscape/xsl:otherwise
/xsl:choose   
/xsl:attribute
!-- ... --
/fo:page-sequence
/xsl:template

Regards,
Dennis JD Myrén
Developer
Oslo Kodebureau
Tel:  (+47) 98 00 11 92
Mail:   [EMAIL PROTECTED]
Web:   www.oslokb.no
-Original Message-
From: Talken, Patrick (AGRE) [mailto:[EMAIL PROTECTED] 
Sent: 4. mars 2005 17:50
To: [EMAIL PROTECTED]
Subject: How do you switch between page-sequences?


Is it possible to switch between page-sequences based on an xml tag?


What I need to have is a document that starts with pages in portrait and
then at some point in the document switch to landscape for an unknown
number of pages and then back into portrait for an unknown number of
pages. The switching between portrait and landscape and then back to
portrait will be determined by the presence or absence of the tag
xmltable.

If xmltag present use page-sequence for landscape

If xmltag is not present use page-sequence for portrait


Thanks,

Patrick Talken



**
The information contained in, or attached to, this e-mail, may contain 
confidential information and is intended solely for the use of the individual 
or entity to whom they are addressed and may be subject to legal privilege.  If 
you have received this e-mail in error you should notify the sender immediately 
by reply e-mail, delete the message from your system and notify your system 
manager.  Please do not copy it for any purpose, or disclose its contents to 
any other person.  The views or opinions presented in this e-mail are solely 
those of the author and do not necessarily represent those of the company.  The 
recipient should check this e-mail and any attachments for the presence of 
viruses.  The company accepts no liability for any damage caused, directly or 
indirectly, by any virus transmitted in this email.
**

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


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



how to get fonts non in URL but in Resource WEB-INF

2005-03-07 Thread antoniosenatore1977
Hi.
I need to get fonts in FOP not via url but in RESOURCE mode, 'cause i have
the files (xml and ttf both) under the directory WEB-INF.

How can i access the fonts via Resource.

Thanks in advance

bye

Antonio


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



Error:

2005-03-07 Thread Ben Gill
Hi,

I downloaded the latest 0.20.5 bin and copied the ExampleObj2PDF example and
am getting:

{ERROR} dao.BaseDAOTestCase  Error generating PDF document
[org.apache.fop.apps.
FOPException: root must be root element]
javax.xml.transform.TransformerException: org.apache.fop.apps.FOPException:
root
 must be root element
at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResul
t.java:725)
at
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(
ElemApplyTemplates.java:425)
at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTempla
tes.java:216)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr
ansformerImpl.java:2339)
at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Tran
sformerImpl.java:2160)
at
org.apache.xalan.transformer.TransformerImpl.transformNode(Transforme
rImpl.java:1213)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
l.java:668)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
l.java:1129)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
l.java:1107)


from XLST stylesheet:

?xml version=1.0 encoding=UTF-8?
xsl:stylesheet version=1.1 
xmlns:xsl=http://www.w3.org/1999/XSL/Transform; 
xmlns:fo=http://www.w3.org/1999/XSL/Format; 
exclude-result-prefixes=fo
  xsl:output method=xml version=1.0 omit-xml-declaration=no
indent=yes/
  !-- = --
  !-- root element: projectteam --
  !-- = --
  xsl:template match=incident
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
  fo:layout-master-set
fo:simple-page-master master-name=simpleA4 page-height=29.7cm 
page-width=21cm margin-top=2cm
margin-bottom=2cm margin-left=2cm margin-right=2cm
  fo:region-body/
/fo:simple-page-master
  /fo:layout-master-set
  fo:page-sequence master-reference=simpleA4
fo:flow flow-name=xsl-region-body
  fo:block font-size=16pt font-weight=bold
space-after=5mmIncident Type: 
xsl:value-of select=incident/
  /fo:block
  fo:block font-size=10pt
fo:table table-layout=fixed
  fo:table-column column-width=4cm/
  fo:table-column column-width=4cm/
  fo:table-column column-width=5cm/
  fo:table-body
xsl:apply-templates/
  /fo:table-body
/fo:table
  /fo:block
/fo:flow
  /fo:page-sequence
/fo:root
  /xsl:template
  !-- = --
  !-- child element: member --
  !-- = --
!--
  xsl:template match=member
fo:table-row
  xsl:if test=function = 'lead'
xsl:attribute name=font-weightbold/xsl:attribute
  /xsl:if
  fo:table-cell
fo:block
  xsl:value-of select=name/
/fo:block
  /fo:table-cell
  fo:table-cell
fo:block
  xsl:value-of select=function/
/fo:block
  /fo:table-cell
  fo:table-cell
fo:block
  xsl:value-of select=email/
/fo:block
  /fo:table-cell
/fo:table-row
  /xsl:template
--
/xsl:stylesheet


Can anyone help or tell me how to get more info out of FOP?   (ie. some
DEBUG trace?) or even how to get hold of the generated FO file?

Thanks



This message has been checked for all known viruses by the MessageLabs Virus 
Control Centre.


*

Notice:  This email is confidential and may contain copyright material of Ocado 
Limited (the Company). Opinions and views expressed in this message may not 
necessarily reflect the opinions and views of the Company.
If you are not the intended recipient, please notify us immediately and delete 
all copies of this message. Please note that it is your responsibility to scan 
this message for viruses.

Company reg. no. 3875000.
Ocado Limited
Titan Court
3 Bishops Square
Hatfield Business Park
Hatfield
Herts
AL10 9NE


*

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



Re: Memory Usage when having Large Number ofTables in FO

2005-03-07 Thread Ram Krishnamoorthi
Thanks Jan. 

I will try out the Latest Code. 


--- J.Pietschmann [EMAIL PROTECTED] wrote:
 Ram Krishnamoorthi wrote:
  Hello,
  After reading through some threads, I understand
 there
  is memory hogging when there are several tables in
 the
  FO. Are there Memory Leaks when using Tables? I am
  using FOP 2.0.5  
 
 Well, not exactly memory leaks but tables lock
 memory
 longer than necessary. In most cases memory needed
 for
 layout is released after a page has been completely
 rendered,
 but memory used to compute the layout for table
 content is
 not released until the page sequence containing the
 table is
 completely rendered.
 
 Your options:
 - Don't use tables, which might mean losing
 necessary features.
 - Use more page sequences, which may also run
 against required
   layout features.
 - Get the latest code from the FOP CVS maintenance
 branch,
   which contains a patch for earlier releasing
 memory hold
   by tables. This might give you run time errors, so
 test
   carefully and thoroughly
 
 J.Pietschmann
 

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




__ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/

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



Re: Error:

2005-03-07 Thread Jeremias Maerki
Do the following: Instead of piping the result of the XSL transformation
through to FOP with the following line:

Result res = new SAXResult(driver.getContentHandler());

...simply serialize the resulting XSL-FO document to a file:

Result res = new StreamResult(new File(C:/Temp/debug.fo));

Check if the FO file looks right and runs smoothly through FOP.

To debug the whole thing outside of your application you might want to
consider writing the early XML to a file. In this case your code would
look like in [1]. Note the identity transformer instead of an XSL
transformation. In this case you'd have a Result like this:

Result res = new StreamResult(new File(C:/Temp/debug.xml));

Once you have the XML from your application, you can use xalan.bat, fop.bat
and your stylesheet to debug everything. Once your stylesheet is fixed
you can run the integrated code again that does the full functionality.
The key is to break down the whole process into it parts (creating XML
from your application, transforming using XSLT and formatting using FOP).

[1] 
http://cvs.apache.org/viewcvs.cgi/xml-fop/examples/embedding/java/embedding/ExampleObj2XML.java?rev=1.4


On 07.03.2005 15:27:21 Ben Gill wrote:
 Thanks Chris,
 
 This helped me sort out the problem straight away  The xalan.bat will
 help me a lot in debugging...
 
 But this is not going to show me anything too useful as I am populating
 Object straight to PDF...
 
 As the Object to PDF generation process, includes generating the XML and the
 FO syntax (at some point during the processing - I assume at least)... is
 there any way to get this information by switching on some sort of FOP
 debugging?  
 
 That would be really useful (and will probably save me a lot of time!!)
 
 Cheers
 
 -Original Message-
 From: Chris Bowditch [mailto:[EMAIL PROTECTED]
 Sent: 07 March 2005 14:04
 To: [EMAIL PROTECTED]
 Subject: Re: Error:
 
 
 Ben Gill wrote:
 
  Hi,
  
  I downloaded the latest 0.20.5 bin and copied the ExampleObj2PDF example
 and
  am getting:
  
  {ERROR} dao.BaseDAOTestCase  Error generating PDF document
  [org.apache.fop.apps.
  FOPException: root must be root element]
  javax.xml.transform.TransformerException:
 org.apache.fop.apps.FOPException:
  root
   must be root element
 
 This is a problem with your XML/XSLT
 
 snip/
 
  
  from XLST stylesheet:
  
  ?xml version=1.0 encoding=UTF-8?
  xsl:stylesheet version=1.1 
  xmlns:xsl=http://www.w3.org/1999/XSL/Transform; 
  xmlns:fo=http://www.w3.org/1999/XSL/Format; 
  exclude-result-prefixes=fo
xsl:output method=xml version=1.0 omit-xml-declaration=no
  indent=yes/
!-- = --
!-- root element: projectteam --
!-- = --
xsl:template match=incident
 
 Note, that the element being matched differs from the comment. However, this
 
 may not be the cause of the problem. Most likely cause is several
 occurrences 
 of element incident in your source XML, resulting in several root elements.
 
 To determine where mistake is you should generate XSL-FO file by running 
 xalan.bat (in FOP distribution) from command line.
 
 snip/
 
 Chris
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 _
 This message has been checked for all known viruses by the 
 MessageLabs Virus Control Centre.
 
 This message has been checked for all known viruses by the MessageLabs Virus 
 Control Centre.
 
   
 *
 
 Notice:  This email is confidential and may contain copyright material of 
 Ocado Limited (the Company). Opinions and views expressed in this message 
 may not necessarily reflect the opinions and views of the Company.
 If you are not the intended recipient, please notify us immediately and 
 delete all copies of this message. Please note that it is your responsibility 
 to scan this message for viruses.
 
 Company reg. no. 3875000.
 Ocado Limited
 Titan Court
 3 Bishops Square
 Hatfield Business Park
 Hatfield
 Herts
 AL10 9NE
 
 
 *
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



Jeremias Maerki


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



RE: Error:

2005-03-07 Thread Ben Gill
Thats great... thanks for your help

-Original Message-
From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
Sent: 07 March 2005 14:41
To: [EMAIL PROTECTED]
Subject: Re: Error:


Do the following: Instead of piping the result of the XSL transformation
through to FOP with the following line:

Result res = new SAXResult(driver.getContentHandler());

...simply serialize the resulting XSL-FO document to a file:

Result res = new StreamResult(new File(C:/Temp/debug.fo));

Check if the FO file looks right and runs smoothly through FOP.

To debug the whole thing outside of your application you might want to
consider writing the early XML to a file. In this case your code would
look like in [1]. Note the identity transformer instead of an XSL
transformation. In this case you'd have a Result like this:

Result res = new StreamResult(new File(C:/Temp/debug.xml));

Once you have the XML from your application, you can use xalan.bat, fop.bat
and your stylesheet to debug everything. Once your stylesheet is fixed
you can run the integrated code again that does the full functionality.
The key is to break down the whole process into it parts (creating XML
from your application, transforming using XSLT and formatting using FOP).

[1]
http://cvs.apache.org/viewcvs.cgi/xml-fop/examples/embedding/java/embedding/
ExampleObj2XML.java?rev=1.4


On 07.03.2005 15:27:21 Ben Gill wrote:
 Thanks Chris,
 
 This helped me sort out the problem straight away  The xalan.bat will
 help me a lot in debugging...
 
 But this is not going to show me anything too useful as I am populating
 Object straight to PDF...
 
 As the Object to PDF generation process, includes generating the XML and
the
 FO syntax (at some point during the processing - I assume at least)... is
 there any way to get this information by switching on some sort of FOP
 debugging?  
 
 That would be really useful (and will probably save me a lot of
time!!)
 
 Cheers
 
 -Original Message-
 From: Chris Bowditch [mailto:[EMAIL PROTECTED]
 Sent: 07 March 2005 14:04
 To: [EMAIL PROTECTED]
 Subject: Re: Error:
 
 
 Ben Gill wrote:
 
  Hi,
  
  I downloaded the latest 0.20.5 bin and copied the ExampleObj2PDF example
 and
  am getting:
  
  {ERROR} dao.BaseDAOTestCase  Error generating PDF document
  [org.apache.fop.apps.
  FOPException: root must be root element]
  javax.xml.transform.TransformerException:
 org.apache.fop.apps.FOPException:
  root
   must be root element
 
 This is a problem with your XML/XSLT
 
 snip/
 
  
  from XLST stylesheet:
  
  ?xml version=1.0 encoding=UTF-8?
  xsl:stylesheet version=1.1 
  xmlns:xsl=http://www.w3.org/1999/XSL/Transform; 
  xmlns:fo=http://www.w3.org/1999/XSL/Format; 
  exclude-result-prefixes=fo
xsl:output method=xml version=1.0 omit-xml-declaration=no
  indent=yes/
!-- = --
!-- root element: projectteam --
!-- = --
xsl:template match=incident
 
 Note, that the element being matched differs from the comment. However,
this
 
 may not be the cause of the problem. Most likely cause is several
 occurrences 
 of element incident in your source XML, resulting in several root
elements.
 
 To determine where mistake is you should generate XSL-FO file by running 
 xalan.bat (in FOP distribution) from command line.
 
 snip/
 
 Chris
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 _
 This message has been checked for all known viruses by the 
 MessageLabs Virus Control Centre.
 
 This message has been checked for all known viruses by the MessageLabs
Virus Control Centre.
 
   
 *
 
 Notice:  This email is confidential and may contain copyright material of
Ocado Limited (the Company). Opinions and views expressed in this message
may not necessarily reflect the opinions and views of the Company.
 If you are not the intended recipient, please notify us immediately and
delete all copies of this message. Please note that it is your
responsibility to scan this message for viruses.
 
 Company reg. no. 3875000.
 Ocado Limited
 Titan Court
 3 Bishops Square
 Hatfield Business Park
 Hatfield
 Herts
 AL10 9NE
 
 
 *
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



Jeremias Maerki


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


_
This message has been checked for all known viruses by the 
MessageLabs Virus Control Centre.

This 

Re: Images and https

2005-03-07 Thread rohit . rastogi


This is what I get when I try to connect .I am trying to pull an image from
a secure site using fo:external-graphics tag. We have an Apache Web server
infront of an IBM Websphere App server. The call for image is made by the
App server during the conversion of XML to FOP .

 javax.net.ssl.SSLHandshakeException: unknown certificate
  at com.ibm.jsse.bg.a(Unknown Source)
  at com.ibm.jsse.bg.startHandshake(Unknown Source)
  at com.ibm.net.ssl.www.protocol.https.b.n(Unknown Source)
  at com.ibm.net.ssl.www.protocol.https.p.connect(Unknown Source)
  at com.ibm.net.ssl.www.protocol.https.r.connect(Unknown Source)
  at TestHttpsServlet.main(TestHttpsServlet.java:68)

Regards
Rohit




  
  J.Pietschmann   
  
  [EMAIL PROTECTED] To:  [EMAIL PROTECTED] 
  
  de  cc:  
  
   Subject: Re: Images and https
  
  03/06/2005 07:15  
  
  PM
  
  Please respond
  
  to fop-user   
  

  

  



[EMAIL PROTECTED] wrote:
 I have a problem in retrieving images in FOP through https.Has anyone
 encountered this ? We are using WAS 5.1 and FOP 0.2.05.

What problem do you actually have? There are lots of
things which can go wrong with HTTPS.

J.Pietschmann

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







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



[Ann] XSLfast Version 2.0 will be presented at the CeBIT, Hannover /Germany (March 10-16, 2005)

2005-03-07 Thread Gerd Napieraj
XSLfast is the world's first graphical editor for XSL:FO documents, a
tool for XSL-FO authoring, to design XSL documents and to render the
information e.g. via FOP. Other purposes are form processing and cross
media publishing.
XSLfast is used by customers in different industries worldwide, e.g. 
banking and insurances, automotive, health care, public sector, 
manufacturing, transportation and pharmaceutical.
The latest release 2.0 is a major upgrade that contains a simplified
user interface, improved performance and lot's of new features.

For more information and details about XSLfast, please visit our
homepage http://www.xslfast.com/
or meet us at the
CeBIT, hall 3 /booth E39
In case of any questions, please contact us via [EMAIL PROTECTED] or
via [EMAIL PROTECTED], or by telephone:
in Europe +49 231 3967 0 and in the US  +1 510-595-6800
If you have any specific requirements like OEM licensing, new features,
support for other applications
or similiar, please get in touch with our sales team.
Thank you for your feedback,
with best regards
your XSLfast Team
Contact:
Europe:
Tel.:+49 231-3967-0
Fax:+49 231-3967-100
[EMAIL PROTECTED]
US:
Tel.: + 1 510 595 6800
Fax: + 1 413 487 1814
[EMAIL PROTECTED]

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


impositions

2005-03-07 Thread Mike Sierra
This is not directly related to fop, but wonder if someone can help me 
out.  Is there a batch utility available that allows you to create 
impositions from PDF input?  I dimly remember seeing something like 
that for plain PostScript.  Thanks,

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


Re: Images and https

2005-03-07 Thread J.Pietschmann
[EMAIL PROTECTED] wrote:
This is what I get when I try to connect .I am trying to pull an image from
a secure site using fo:external-graphics tag. We have an Apache Web server
infront of an IBM Websphere App server. The call for image is made by the
App server during the conversion of XML to FOP .
 javax.net.ssl.SSLHandshakeException: unknown certificate
  at com.ibm.jsse.bg.a(Unknown Source)
  at com.ibm.jsse.bg.startHandshake(Unknown Source)
  at com.ibm.net.ssl.www.protocol.https.b.n(Unknown Source)
  at com.ibm.net.ssl.www.protocol.https.p.connect(Unknown Source)
  at com.ibm.net.ssl.www.protocol.https.r.connect(Unknown Source)
  at TestHttpsServlet.main(TestHttpsServlet.java:68)
The error message already describes the problem: there is an
unknown certificate in use. This most likely means the code
in question ins't configured to find an appropriate trusted
certificate for the root CA. Unfortunately, your problem
description is still quite vague, it isn't clear whether this
is a problem with the secure site or some client side code,
or whether the secure site is actually under your control.
Anyway, configuring HTTPS handling in Java ins't exactly the
topic of this mailing list. I suggest isolating the problem
(minimal Java code and processing setup, preferably *not* in
an app server), and ask again in an appropriate Java forum.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Images and https

2005-03-07 Thread rohit . rastogi

The problem is very clear . The FOP transformation fails when the
fo:external-graphics tag has a source to an image which is in secured
site(ex: https:///someimage.jpg;.  ) . Please let me know if you have
any ideas for this.
Thanks
Rohit



  
  J.Pietschmann   
  
  [EMAIL PROTECTED] To:  [EMAIL PROTECTED] 
  
  de  cc:  
  
   Subject: Re: Images and https
  
  03/07/2005 03:14  
  
  PM
  
  Please respond
  
  to fop-user   
  

  

  



[EMAIL PROTECTED] wrote:

 This is what I get when I try to connect .I am trying to pull an image
from
 a secure site using fo:external-graphics tag. We have an Apache Web
server
 infront of an IBM Websphere App server. The call for image is made by the
 App server during the conversion of XML to FOP .

  javax.net.ssl.SSLHandshakeException: unknown certificate
   at com.ibm.jsse.bg.a(Unknown Source)
   at com.ibm.jsse.bg.startHandshake(Unknown Source)
   at com.ibm.net.ssl.www.protocol.https.b.n(Unknown Source)
   at com.ibm.net.ssl.www.protocol.https.p.connect(Unknown Source)
   at com.ibm.net.ssl.www.protocol.https.r.connect(Unknown Source)
   at TestHttpsServlet.main(TestHttpsServlet.java:68)

The error message already describes the problem: there is an
unknown certificate in use. This most likely means the code
in question ins't configured to find an appropriate trusted
certificate for the root CA. Unfortunately, your problem
description is still quite vague, it isn't clear whether this
is a problem with the secure site or some client side code,
or whether the secure site is actually under your control.
Anyway, configuring HTTPS handling in Java ins't exactly the
topic of this mailing list. I suggest isolating the problem
(minimal Java code and processing setup, preferably *not* in
an app server), and ask again in an appropriate Java forum.

J.Pietschmann

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







-
The contents of this email are the property of PNC. If it was not addressed
to you, you have no legal right to read it. If you think you received it in
error, please notify the sender. Do not forward or copy without permission
of the sender.


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



Word to FO transformation print pdf with fop

2005-03-07 Thread Mike Dahl






Hi,

I'm curious if anybody has been able to get FOP to spit out PDFs from MS
Word 2003 created FO files.  I took a word document and used word's
Word2FO.xsl transformation to generate my FO file from their ML. 
Currently, if I take one of the .fo example files from a FOP archive, and
wrap it in a couple of xsl:stylesheet and xsl:template tags, my java app
can display it in PDF form right away.  Doesn't seem to be as simple here.  It's quite possible that word is generating tags not yet supported by FOP.  I'm just curious if anybody has had any luck in this area.

Thanks.







==
This communication, together with any attachments hereto or links contained herein, is for the sole use of the intended recipient(s) and may contain information that is confidential or legally protected. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, dissemination, distribution or use of this communication is STRICTLY PROHIBITED.  If you have received this communication in error, please notify the sender immediately by return e-mail message and delete the original and all copies of the communication, along with any attachments hereto or links herein, from your system.

==
The St. Paul Travelers e-mail system made this annotation on 03/07/05, 17:42:34.