[xsd-users] Reading of Schemas at Validation?
Durkan, Ian
ian.durkan at progeny.net
Wed Nov 25 10:11:43 EST 2009
Greetings,
I'm curious about how a C++/Tree-generated API goes about validating
input documents for parsing against schema(s). I'm specifying the
location of a schema (on a local disk) via a properties object, and
re-using the same schema to parse a large number of documents. Which
option describes how the schema is stored in memory?
1. Generated functions read in the schema file (and the files it
includes) only the first time a parsing function is called with a
particular schema, and then a representation of the schema is held in
memory until our program is terminated.
2. Schema file(s) are read each time a parsing call is made.
If the second option is true, is there a way to reuse the
schema-in-memory for every parsing call?
Ian Durkan
ian . durkan <at> progeny . net <mailto:ian.durkan at progeny.net>
More information about the xsd-users
mailing list