Finally, figured out how to use saxon:evaluate instead with saxon9!
For those who may be interested in a similar solution, this should work:
===>
Thanks for all your help! I didn't realize that swapping XSLT engines
in FOP was so
Johathan,
Thanks for your help!
I've used Saxon-6.5.5 as my XSLT processor, edited FOP wrapper to
invoke the jar file
corresponding to Saxon engine, and now everything works perfectly in a
single pass, without
any intermediate steps. (btw, I tried command line mode for xalan-j
engine, and sure eno
You may be better off asking XSLT related questions on other mailing lists as
this is not a FOP issue as such.
According to http://www.exslt.org/dyn/functions/evaluate/index.html
dyn:evaluate is supported by XALAN-J. I suggest you look on the exslt or
xalan-j mailinglists/forums.
Manuel
KrisKo
I just downloaded newer version of xalan-j (2.7.1), replaced the xalan_2_7_0
with this one, but
got the same result..
Well, looks like the only option at this point is to use xsltproc to
generate .fo, and then use fop
to generate pdf. The problem with this approach is that I need to generate
arou
'system-property()' for xsl:vendor: Apache Software Foundation, and
vendor-url: http://xml.apache.org/xalan-j
JRE on my machine (Windows XP/Cygwin): 1.6.0_15
I've used '--execdebug' flag when starting fop to print out the actual command
being executed, nothing unusual about it: classpath doesn't
On 03.10.2009 21:30, KrisKom wrote:
[snip]
I used xsl:for-each to loop over RoleTypes/* elements to define table
columns, and then
dynamically constructed XPath expression (using dyn:evaluate of exslt) to
obtain data for
the cells that correspond to the roles (dev, qa, and doc).
My xsl styleshee
I'm a new user on this forum, and have sent an email to the mailing list on
this subject, but it bounced
back. So pardon me if you see this question twice.
I've been struggling with some weird behavior of fop (don't know if I'm
doing something wrong, or if there
is a work around).
I have an au
Hmm, do you still have the old version showing the problem? If so,
please send it to me. column-width="50%" on table-column should normally
work just fine.
Andreas reminded me of the solution to the exception swallowing: a
custom ErrorListener set on the Transformer so Xalan doesn't swallow the
ex
Hi,
i've found the problem after trying (uncomenting, deploying, testing)
for nearly 2 days :-(
is working locally but not on the application server. However with 'cm'
instead of '%' it works:
A better exception would have been helpful...
Regards,
ToM
> I'm afraid you've o
I'm afraid you've only caught the TransformerException thrown inside
Xalan due to the SAXException. You've missed the nested SAXException.
But it wouldn't help anyway. As I said, this exception is only a
follow-up thing. There must be something else going wrong before that
mismatch is encountered.
I debugged through the code but the error occurs inside the transformer
(which is part of the JDK 1.4.2 standard).
Here's an more complete stacktrace:
javax.xml.transform.TransformerException: org.xml.sax.SAXException:
Mismatch: page-sequence (http://www.w3.org/1999/XSL/Format) vs. root
(http://ww
These errors are usually follow-up errors after the real problem (at
least in my experience). Please take a look if you can see any error
message before that exception. It could also be some bad exception
handling somewhere in FOP. I've had this thing a number of times in the
past but I haven't had
Hi!
I am running FOP and convert an XML+XSL->FOP->PDF.
Locally everything is working fine but on the app server i get the
following error message:
"org.xml.sax.SAXException: Mismatch: page-sequence
(http://www.w3.org/1999/XSL/Format) vs. root
(http://www.w3.org/1999/XSL/Format)"
Environment:
App
Hi,
With a Red Hat Linux, I had to install the package RedHat
|xorg-x11-deprecated-libs|.
Since I use the JDK 1.4, setting the following system property in the
JVM command line was enough :
-Djava.awt.headless=true
Now the problem is fixed !
Thanks for your help !
Best Regards,
Xavier
Thanks Jeremias,
I installed j2sdk1.4.2_13.
I put the jars
- xml-apis-1.3.04.jar
- xalan-2.7.0.jar
- xercesImpl-2.7.1.jar
- serializer-2.7.0.jar
in JAVA_HOME/jre/lib/endorsed.
The message is not displayed any more. But another message is now
displayed :
/usr/j2sdk1.4.2_13/bin/java -Djava.a
Jeremias Maerki wrote:
However, what you're seeing is really strange. I can't explain
it if your FO file is really ok.
I guess Xalan sends two endElement SAX events. Something like this
has been reported before, although I don't remember the specific
Xalan version.
J.Pietschmann
-
Just putting xalan and xerces in the classpath with JDK 1.4 and later is
not enough to override the original JAXP implementation that comes with
Sun's JDK. Please copy the following JARs to the directory
/usr/j2sdk1.4.2_04/jre/lib/endorsed (you may have to create it):
- xml-apis-1.3.04.jar
- xalan
Hi,
This time, I tried to run another script with a command line. I used
ExampleXML2FO.class.
The program ran successfully. The genereted FO file is below
http://www.w3.org/1999/XSL/Format";>
Apache Software Foundation
But if i try ExampleXML2PDF.class, the error is still thrown
I installed JDK 1.4.2_05 in my test server but the ValidationException
is still there
Xavier Ottolini a écrit :
Hi,
Jeremy wrote
Normally, the choice of JVM and application server is a
more likely cause."
On my test server (Linux)
I use Java 1.4.2_04
and Tomcat 4.1.31
Xalan 2.7.0
I get the
Hi,
I tried to run the script with a command line. I used ExampleXML2PDF.class.
/usr/j2sdk1.4.2_04/bin/java -classpath
/home/test/lib/fop.jar:/home/test/lib/xalan-2.7.0.jar:
/home/test/lib/xercesImpl-2.7.1.jar:/home/test/lib/avalon-framework-4.2.0.jar:
/home/test/lib/batik-all-1.6.jar:/home/t
Hi,
Jeremy wrote
Normally, the choice of JVM and application server is a
more likely cause."
On my test server (Linux)
I use Java 1.4.2_04
and Tomcat 4.1.31
Xalan 2.7.0
I get the exception javax.servlet.ServletException:
org.apache.fop.fo.ValidationException: Error(Unknown location): For
fo
Hi,
I installed the fop.war as Jeremias adviced me yesterday.
Today, I tried to create a PDF with a XML and an XSL.
Here is the request :
http://maq.srv.fr:8080/fop/fop?xml=/home/srv/webapps/opencms/export/xsl/decompte.xml&xslt=/home/srv/webapps/opencms/export/xsl/decompte.xsl
Here is the resp
Looks like a java installation problem to me. I know it sounds obvious,
but have you checked if
/usr/j2sdk1.4.2_04/jre/lib/i386/libawt.so|libXp.so.6 exists? You may
need to create a symbolic link to one of the shared object files.
Adrian.
Xavier Ottolini wrote:
Hi,
I installed the fop.war
Hi,
I installed the fop.war as Jeremias adviced me.
I first tries to create a PDF with a fo file.
http://maq.srv.fr:8080/fop/fop?fo=/home/srv/webapps/opencms/export/xsl/decompte.fo
The server sends the following error message? Can anybody tell me which
jar file is missing ?
Best regards,
Xavi
output of
>>
>> somehow included in a web page (or PDF or whatever) and post
>> the result?
>>
>> J.Pietschmann
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail
---
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/FOP-Problem-tf2950761.html#a8518980
Sent from the FOP - Users mailing list archive at Nabble.com.
-
pwillsey wrote:
Not sure if this makes a difference but I'm using FOP in a webobjects
project and I get the exception when I deploy the project but not when I run
it using eclipse on my development machine.
I wouldn't rule out a defective XSLT processor.
Could you get the output of
somehow i
t sure if this makes a difference but I'm using FOP in a webobjects
>> project and I get the exception when I deploy the project but not when I
>> run it using eclipse on my development machine.
>>
>> Any help would be greatly Appreciated
>>
>> Thanks
>>
Hi,
You are right, my Tomcat server is a jakarta-tomcat-4.1.31
I'll check the fop.war.
Thank you Jeremias
Jeremias Maerki a écrit :
I've just tried running the FOP servlet in Tomcat 5.5.9 with the
projectteam example in examples/embedding/xml and I can't reproduce it
which means I have to more
I've just tried running the FOP servlet in Tomcat 5.5.9 with the
projectteam example in examples/embedding/xml and I can't reproduce it
which means I have to more closely build the environment you guys have.
Xavier, AFAIK there is no Tomcat 4.3. The latest Tomcat 4.x version is
4.1.34. If we are t
ve also tested this on
> > another machine and it works fine. I'm using FOP V. 0.93 (on Both
> > machines).
> >
> > Not sure if this makes a difference but I'm using FOP in a webobjects
> > project and I get the exception when I deploy the project but not w
Hi,
I have got the same problem. When I run FOP as embedded in my
developement server, it is ran without any error. But when I run it on
my production server, I have got the following exception :
org.apache.fop.fo.ValidationException: Error(Unknown location): For
fo:simple-page-master, only
nt machine.
>
> Any help would be greatly Appreciated
>
> Thanks
>
> Peter Willsey
>
--
View this message in context:
http://www.nabble.com/FOP-Problem-tf2950761.html#a8486236
Sent from the FOP - Users mailing list archive at Nabble.com.
On 11.01.2007 01:22:04 pwillsey wrote:
>
>
> Jeremias Maerki-2 wrote:
> >
> > Ok, in this case I'd modify the application so you can write out the
> > generated FO within your application. Maybe there's something special
> > about that environment.
> >
>
> I modified the application to do thi
t;> machine and it works fine. I'm using FOP V. 0.93 (on Both machines).
>> >>
>> >> Not sure if this makes a difference but I'm using FOP in a webobjects
>> >> project and I get the excep
Ok, in this case I'd modify the application so you can write out the
generated FO within your application. Maybe there's something special
about that environment.
I'm sure you did it right, but are you certain that you properly
override the default XSLT implementation with Xalan 2.7.0 using the
en
On Jan 10, 2007, at 18:48, pwillsey wrote:
I ran the transformation from both computers on the command line,
the FO file
was identical and did not contain a fo:simple-page-master element
with more
then one fo:region-body.
Did you do a visual check, or a more reliable XPath check?
Someth
e project but not when I
>> run
>> it using eclipse on my development machine.
>>
>> Any help would be greatly Appreciated
>
>
>
> Jeremias Maerki
>
>
> -------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additiona
If you haven't done so already, run only the XSLT transformation outside
your application (on the command-line) and inspect the generated FO file.
You may also need to verify that you're using the same XSLT processor in
both environments.
On 10.01.2007 06:33:05 pwillsey wrote:
>
> Hello,
> I'm ge
t not when I run
it using eclipse on my development machine.
Any help would be greatly Appreciated
Thanks
Peter Willsey
--
View this message in context:
http://www.nabble.com/FOP-Problem-tf2950761.html#a8252450
Sent from the FOP - Users mailing l
40 matches
Mail list logo