Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transformation works at the command line but fails in my web application.

 
Heath Lilley
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I have an xml document that I can transform into a pdf with out issue from my command line environment, however when I try to do it in my web application I get the following error...


Now I have a simple xsl I can use in the application and the pdf gets created fine. Its only with the larger more complex xsl that there is an issue.
Has anyone seen this type of behaveior before?
[ February 11, 2004: Message edited by: Heath Lilley ]
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Heath Lilley:
Hello,
Now I have a simple xsl I can use in the application and the pdf gets created fine. Its only with the larger more complex xsl that there is an issue.
[ February 11, 2004: Message edited by: Heath Lilley ]

if your code(DocumentBean.java) can work for small xsl then it shd work for large complex xsl as well(normally).
Check again whether your large complex xsl is working on command line as well.
 
Heath Lilley
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It all came down to this line...

I was trying to use the SreamSource constructor that used a String uri. For
some reason it was failing with the second ,larger, XLST document.
Thanks for your help.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for letting us know
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic