A simple question, but I can't seem to find the answer anywhere... Is there any existing method in perl (or perhaps a command line tool) to check if a given XML file contains mixed content?
I just need something that tells me if mixed content is present our not. Although any details if mixed content found would be a bonus. If anything exists then processing the file without loading it completely in memory would also be better as the files I need to analyse are 100's of MBs and even in some cases a few GBs. If nothing exists then I'll start looking at writing something myself.
All the above assumes that an XSD/Schema file is not available for the given XML file.