following:
I write live stream data into an XML file and want to parse it later with StaX. Because the live stream data occure sometimes realy frequent, the write stream process "swallows up" sometimes what ends in (partially) malformed XML files.
Now I get parsing errors at some point in the file.
Is there a way to tell the StaX parser to skip malformed pasages in the XML file? Is it possible to push the cursor forward until the malformed part is done? For sure, I will work on the writing algorithm as well, but I need a robust parsing mechanism too.
Currently I parsing with an XMLStreamReader.
Thanks Jonathan
No comments:
Post a Comment