Commit Graph

14 Commits

Author SHA1 Message Date
Emmanuel Briot
53dc51bf5c Update copyright notices
Change-Id: Iae1283292b460ead48dedc565d6f24259e497e69
2017-01-03 10:02:38 +01:00
Emmanuel Briot
50d313e1f8 Increase internal limit for maxOccurs
We still emit a warning for large values, but do not prevent validating
documents.

P812-015

Change-Id: If61b53425f27417f0ae108c5a79b8edd7f690f8c
2016-08-16 17:30:10 +02:00
Emmanuel Briot
1262b6c064 Update copyright headers to 2016
Change-Id: I70135cb5146de304f14587d1a518c94e804a8e6c
2016-02-17 18:02:07 +01:00
Emmanuel Briot
67fb7dd10e Update copyright notices to 2014
N103-019

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@221486 936e1b1b-40f2-da11-902a-00137254ae57
2014-01-06 10:27:30 +00:00
Emmanuel Briot
6363ce096b Update copyright notices to 2013
M103-015

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@200406 936e1b1b-40f2-da11-902a-00137254ae57
2013-01-08 10:54:28 +00:00
Emmanuel Briot
8036117c11 Add entry in features about the license change.
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
2012-01-03 15:07:56 +00:00
Emmanuel Briot
5befffea2b Change header to use GPL version 3
KC20-003

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@182682 936e1b1b-40f2-da11-902a-00137254ae57
2011-12-20 09:09:12 +00:00
Emmanuel Briot
457e7c1739 (Global_References): now implemented as Sax.HTable rather than
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
2010-11-05 10:48:08 +00:00
Emmanuel Briot
ce7dda898a Rewrite support for simpleType
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
2010-11-05 10:47:04 +00:00
Emmanuel Briot
189c21d06b Cleanup handling of debug output: all functions that do the output are
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
2010-09-01 13:07:27 +00:00
Emmanuel Briot
ab057444d8 Remove use of controlled types and smart pointers in most cases after all,
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
2007-05-30 15:29:40 +00:00
Pascal Obry
0dd554c672 Minor reformatting.
Add missing file header and routine header box.



git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@62887 936e1b1b-40f2-da11-902a-00137254ae57
2007-05-22 18:03:37 +00:00
Thomas Quinot
3756ce20a7 Suppress multiple consecutive blank lines.
Collateral to E416-002


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12043 936e1b1b-40f2-da11-902a-00137254ae57
2005-04-27 08:34:12 +00:00
Emmanuel Briot
3b76a8f43f Initial revision
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@11840 936e1b1b-40f2-da11-902a-00137254ae57
2004-06-23 14:27:30 +00:00