Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes XML and Related Technologies and the fly likes problem transforming using JAXP (StreamResult problem) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "problem transforming using JAXP (StreamResult problem)" Watch "problem transforming using JAXP (StreamResult problem)" New topic
Author

problem transforming using JAXP (StreamResult problem)

Karthik Guru
Ranch Hand

Joined: Mar 06, 2001
Posts: 1209
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
 
Don't get me started about those stupid light bulbs.
 
subject: problem transforming using JAXP (StreamResult problem)