Hello Andreas, Thank you for your time. I'm writing a program for the TR069 protocol which is defined by the Broadband Forum. This protocol sends a empty POST message to notify the web service that it has nothing else to send. StAX throws an exception when this happens. I don't know if a empty message is a incorrect format.
Kind regards, Wiebren 2009/3/7 Andreas Veithen <[email protected]> > How can a message with a content-length of 0 be well-formed XML? > > On Sat, Mar 7, 2009 at 22:30, Geen Geen <[email protected]> wrote: > > Hello, > > > > I'm having problems parsing HTTP POST messages with the AXIOM parser. > When > > the POST messages have a content-length of 0 the parser throws an > exception > > and the server sends a 500 response. Is there any way to resolve this > > behavior ? > > > > Kind regards, > > > > Wiebren >
