Premature end of file when parsing a POST method in Grails

wmvggqc

New Member
I've written a save() method that is intended to save the results of an object creation flow by inserting the relevant data in matching XML tags to the object fields. To do so, I need to get the XML in the first place.Problem is, \[code\]import grails.converters.XML//inside save functiondef xml = request.XML\[/code\]returns a SAXParseException each time it is encountered. I'm not the one creating the XML file. Its generated by Grails, so what is a programmer to do when the framework itself is producing these errors?
 
Back
Top