Re: I want to parse the POST body twice.

2014-03-02 Thread Herwig Hochleitner
; memory (e.g. with slurp or similar), or dump it to a temporary file. >> >> - James >> >> >> On 2 March 2014 16:18, action wrote: >> >>> I want to parse the POST body twice, >>> but in the second place: >>> org.xml.sax.SAXParseE

Re: I want to parse the POST body twice.

2014-03-02 Thread James Reeves
to a temporary file. >> >> - James >> >> >> On 2 March 2014 16:18, action wrote: >> >>> I want to parse the POST body twice, >>> but in the second place: >>> org.xml.sax.SAXParseException: Premature end of file. >>> How should I

Re: I want to parse the POST body twice.

2014-03-02 Thread action
gt; > On 2 March 2014 16:18, action > wrote: > >> I want to parse the POST body twice, >> but in the second place: >> org.xml.sax.SAXParseException: Premature end of file. >> How should I clone the body render for the second parse? >> >> -- >

Re: I want to parse the POST body twice.

2014-03-02 Thread Herwig Hochleitner
ation. cheers 2014-03-02 17:18 GMT+01:00 action : > I want to parse the POST body twice, > but in the second place: > org.xml.sax.SAXParseException: Premature end of file. > How should I clone the body render for the second parse? > > -- > You received this message because you ar

Re: I want to parse the POST body twice.

2014-03-02 Thread James Reeves
Depending on how large the input is, you could either read it all into memory (e.g. with slurp or similar), or dump it to a temporary file. - James On 2 March 2014 16:18, action wrote: > I want to parse the POST body twice, > but in the second place: > org.xml.sax.SAXParseException:

I want to parse the POST body twice.

2014-03-02 Thread action
I want to parse the POST body twice, but in the second place: org.xml.sax.SAXParseException: Premature end of file. How should I clone the body render for the second parse? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this g