I am writing an application that needs to unmarshall a huge XML file using castor. Because of this reason, I need use a streaming XML parser such as Stax to parse the XML file. According to Castor's documentation, castor default parser is Xerces. I visited Xerces home page, and I could not find any information whether Xerces is a streaming parser or not.
Does anyone know whether Xerces is a streaming parser. Thank you.
From http://en.wikipedia.org/wiki/Xerces:
Xerces is Apache's collection of software libraries for parsing, validating, serializing and manipulating XML. The library implements a number of standard APIs for XML parsing, including DOM, SAX and SAX2
So it seems to support streaming and non streaming APIs. See http://xerces.apache.org/#xerces2-j for all supported APIs.