November 2003
Intermediate to advanced
1488 pages
36h 35m
English
In this section, we see some of the best practices we can adopt while working with XML.
Sometimes, XML validation may be overkill. The parser usually performs several types of validations, and if you don't want all those happening, you can write custom code, in your SAX handler or while traversing your DOM hierarchy, to perform the required validations and turn the parser validation off. This will improve the performance of your XML application.
It's faster to access entities from the local machine than over the network. Because of this, use external entity resolution to cache the entities locally. This is also bound to improve performance.
JAXP ...
Read now
Unlock full access