Hi,
Excuse me for my lack of good understanding of the difference between
SAXSource and StreamSource. I am trying to replace some validation code by
the validator component provided by Camel. The existing code uses
StreamSource to parse the XML. From what I can guess StreamSource would
probably handle large XML files better than SAXSource. Why does Camel also
not use Stream Source in the
org.apache.camel.processor.validation.ValidatingProcessor class when it
calls the validator.validate method?
On some googling I found some old Apache Camel code of the
ValidatorComponent which used StreamSource.
Is SAXSource performance same as StreamSource? 

Thanks in advance,
-v-



--
View this message in context: 
http://camel.465427.n5.nabble.com/Why-doesnt-the-validation-component-use-Stream-Source-internally-to-parse-the-XML-tp5718632.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to