Validating Parsers Vs Non Validating Parsers




Validating Parsers Vs Non Validating Parsers

 API in XML Parser

Learn XML - XML tutorial - XML Parser - XML examples - XML programs

Validating Parsers Non Validating Parsers
Enforce syntactic rules Enforce syntactic rules
Only validating parsers know
how to validate documents against their DTDs
which means validation takes place against the schema
If only want to find tags and extract information - use non-validating parser
It takes a significant amount of effort for an XML parser
to process a DTD and make sure that every element in an
XML document follows the rules of the DTD.
No Validatory checks with DTD
Comparitively slow than Non validating Parser Obviously its fast because its not validated


Related Searches to Validating Parsers Vs Non Validating Parsers