That's a very nice approach for generating and persisting what amounts to pre-parsed documents. If you were to transmit the token descriptor data structures along with the XML document it'd pretty much eliminate parsing for the receiver, but would apparently about double the document size on average. The really nice use for this type of approach is as an alternative to an object model composed of separate objects per component, though.

Unfortunately it doesn't fit very well with either a StAX or DOM-like API, because those use Strings (almost) everywhere. It'd work much better in combination with a CharSequence-based API.

 - Dennis

Anne Thomas Manes wrote:

This project seems to provide substantial performance advantages in
XML processing. Take a look at the benchmark paper:
http://www.ximpleware.com/.

Anne

Reply via email to