Hi,
A colleague was doing some performance testing and discovered some
contention at this line of my code:
XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser");
...which was surprising : ) He informed me it was doing a blocking
operation every time.
Anyway, he went away and w
Hi Andrew,
Creating a new XML parser can be very expensive. The ClassLoader used to
create the parser and its internal components might block or spend a long
time searching its "classpath" for META-INF/services files. This is why
it's generally a good idea to cache and reuse [1] XML parser inst