EDN Admin
Well-known member
I need to validate an xml document. Its size is very large. I have defined XSD schema to validate this xml document.
Currently I am using ReadXML method to load data into XSD. Since data is very large, a lot of memory is getting consumed. Also CPU time.
How can i validate XML file against XSD without loading all XML document into memory?
Are there any specialized classes for XSD validation of a document that will not load and deserialize the whole XML (more working like a stream)?
Thanks in advance
View the full article
Currently I am using ReadXML method to load data into XSD. Since data is very large, a lot of memory is getting consumed. Also CPU time.
How can i validate XML file against XSD without loading all XML document into memory?
Are there any specialized classes for XSD validation of a document that will not load and deserialize the whole XML (more working like a stream)?
Thanks in advance
View the full article