Client applications use method calls defined in the parser API to receive or request information the parser retrieves from the XML document.The parser shields the client application from all the complex and not particularly relevant details of XML including: One of the original goals of XML was that it be simple enough that a “Desperate Perl Hacker” (DPH) be able to write an XML parser.On the other extreme, the DPH was assumed to be Larry Wall and he was allowed two months for the task.
I'm trying to find a way to validate a large XML file against an XSD. but the answers all pointed to using the Xerces library for validation.
The only problem is, when I use that library to validate a 180 MB file then I get an Out Of Memory Exception.
The exact interpretation of this requirement varied from person to person.
On one extreme, the DPH was assumed to be a Web designer accustomed to writing CGI scripts without any formal training in programming who was going to hack it together in a weekend.
For pugixml the compromise is as follows: any well-formed document often has to be transformed in certain ways by the time it reaches the user.