Saml parsing validating

Think only on those things that are in line with your principles and can bear the light of day. - Heraclitus "this" is Default Handler Object CPU goes to 100% , the process gets finished. Does 100% CPU utilization means it is bad on the performance of the application ?

saml parsing validating-33

These input sources are Input Streams, Files, URLs, and SAX Input Sources.

But in here I'm using it only to create new XML document instead of parsing existing one. Document by parsing my xml file using the document Builder. It reads external representations of schemas and prepares them for validation.

Most XML parsers will give up after the first error in a document.

In fact, IIRC, that's actually part of the 'official' spec for parsers.

What I observe is, irrespective of the size of input XML and schema(.xsd) the XML Parsing and Validation with SAX parser shoots CPU to 100% utilization.

Comments