*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
 
subject: problem transforming using JAXP (StreamResult problem)
 
Similar Threads
Special Characters in XML
Is there a better way to do this transformation
org.w3c.dom.* saves my XML with attributes in alphabetical order
Simple XSL transformation
Java XML parser to parse the XML file