Update all copyright headers to 2012, since the change of the license
is considered as significant for the files.
KC20-003
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@183039 936e1b1b-40f2-da11-902a-00137254ae57
GNAT.Dynamic_Htables, so that we can easily do partial cleanups.
(Reset): put back support for preserving only the metaschema in the
grammar, and reseting all the rest. This puts back the time to
run the whole schema testsuite from 6.2min down to 34s
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@166664 936e1b1b-40f2-da11-902a-00137254ae57
We no longer use an XML_Validator, but explicit case statements for the
builtin primitive types defined by W3C.
This removes all memory leaks when parsing test.xsd and test.xml, and
simplifies memory management. This also removes a lot of code
J302-043
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@166637 936e1b1b-40f2-da11-902a-00137254ae57
now shared in schema.ads itself, rather than split in several packages.
In particular, this allows all output functions to take into account the
indentation, and do colored output in more packages
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@164135 936e1b1b-40f2-da11-902a-00137254ae57
since they have the following drawbacks:
- less efficient code (each assignment generates extra code)
- a lot more exception handlers, preventing compilation on some machines
(G525-005)
- there are still errors reported by valgrind, in code that is extremely
hard to debug and might in fact be an error in the GNAT runtime itself.
The order of calls to finalize depends on the order in which the types
are declared, and with mutually dependent types this is hard to control
Instead, only the XML_Grammar_NS and Locator are controlled, since they are
the most likely to be used by the user. The grammar takes care of freeing
all needed memory (fixed a lot of memory leaks, as reported in G510-017).
All debug messages are now in a "if Debug" statement, so that we do not have
to use the secondary stack to prepare their argument, often unused. This
also limits memory use somewhat.
There are no remaining known memory leaks when running the schema testsuite
Fixes copyright notices
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@65659 936e1b1b-40f2-da11-902a-00137254ae57