[xsd-users] grammar pool caching
Boris Kolpackov
boris at codesynthesis.com
Mon Mar 19 11:08:22 EDT 2007
Hi,
paolo.volpi at tvblob.com <paolo.volpi at tvblob.com> writes:
> is it possible to enable something like xercesc grammar pool caching
> with cxx-tree generated class to speed up the validation process?
Yes it is. For that you will need to do XML-to-DOM parsing yourself
where you can enable the grammar caching. One of the generated parsing
functions accepts DOMDocument as input which you can then use to
create the tree.
The Wiki FAQ 2.1 has some code that does the XML-DOM stage:
http://wiki.codesynthesis.com/Tree/FAQ
The following article describes how to enable grammar caching:
http://www-128.ibm.com/developerworks/webservices/library/x-xsdxerc.html
hth,
-boris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: Digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20070319/f9181224/attachment.pgp
More information about the xsd-users
mailing list