[xsd-users] grammar pool caching
boris at codesynthesis.com
Tue Mar 20 09:45:28 EDT 2007
In the future please keep the xsd-users mailing list CC'ed to
your replies. This way others will be able to benefit from this
Paolo Volpi <paolo.volpi at tvblob.com> writes:
> Is it not usefull/possible to offer this capability directly from
> your library for example with a flags?
This particular feature is probably not possible because the parsing
functions create a new DOM parser every time they are called so there
won't be any caching. Generally, we only duplicate most essential
Xerces-C++ flags and properties (like dont_validate, etc.). The
idea is that if you need to do something special then you will
need to create the DOMDocument yourself. The good thing about this
approach is that it is very flexible and allows us to concentrate
on the core features instead of duplicating Xerces-C++ interfaces.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 652 bytes
Desc: Digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20070320/00c10baf/attachment.pgp
More information about the xsd-users