Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem transforming using JAXP (StreamResult problem)  RSS feed

 
Karthik Guru
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This code snippet gets a DOMSource as an input and a String file name to which it is supposed to serilizae it to.
But the transformer expects the output file to be present @ the location whereas it is supposed to create it.
It has been workign fine for months now.
It fails only on unix and that directory has write permissions as well.
Infact there is another workflow where a .csv file is written to the same folder and that goes through just fine.

It is throwing a java.io.FileNotFoundException for the file name that i passed.
thoughts?
thanks.
karthik
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!