|
I used XmlTextReader of
.NET and found out that it is really low on performance. It takes a lot of
time(in milli seconds) to create a parser object. I was wondering whether
XmlTextReader is really a pull parser or whether it works like DOM internally
and just gives an interface like a pull parser to the client. Does
XmlTextReader in Mono work the same way? I can’t speak for Mono, but I am
reasonably sure that MS.NET’s XmlTextReader does in fact parse as it goes.
To see evidence of this, try an XSLT Transform operation and notice that it
returns an XmlTextReader nearly immediately. It isn’t until you start
pulling Xml from the reader that the transformation takes place, as you pull. |
smime.p7s
Description: S/MIME cryptographic signature
