When validating an xml file that is 270 MB using the StylusValidator command line utility, an error occurs stating, "This application has requested the Runtime to terminate in an unusual way. Please contact the application's support team for more information.".
I believe this is happening because of the huge xml file.
Is there a known file size limitation for StylusValidator.exe?
Subject:StylusValidator and File Size Author:Minollo I. Date:21 Apr 2006 01:55 PM
There isn't a hard limit to the documednt size that can be handled; it depends on a number of factors, including memory available on the machine, encoding of the document, dimension/complexity of the referenced schemas and so on.
The command line tool relies on Apache XercesC for validation; different validation engines might be more scalable than XercesC. But the XML document size you are talking about is indeed quite large...
Yes, the command line utility does work just fine for me with smaller files. Also, the command line utility, xml file, and schema are all on my local file system.
I am currently in the process of decreasing the size of the xml file incrementally to determine at what size the utility generates the error.