Commit Graph

764 Commits

Author SHA1 Message Date
Emmanuel Briot
c4cdec6783 (docs): try to build the examples by default, since this target is not
used by the nightly builds


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12364 936e1b1b-40f2-da11-902a-00137254ae57
xmlada-2.2
2006-05-10 16:31:02 +00:00
Emmanuel Briot
2c386204c5 (all): do not try to build the examples, since the nightly builds haven't
done a configure at that stage
(all_check): new target for those that want to check the examples


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12363 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-10 16:29:53 +00:00
Emmanuel Briot
5b582a7528 Use diff -c instead of diff -u, since the latter is not supported on all
of our machines


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12361 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-09 07:15:29 +00:00
Emmanuel Briot
dcec0006b0 (Is_Valid_Base64Binary): Minor fix to previous check in (F427-004)
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12360 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-05 12:27:00 +00:00
Emmanuel Briot
781ef986ce Review implementation of Is_Valid_Base64Binary, for F427-004
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12359 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-05 12:22:32 +00:00
Emmanuel Briot
20e01663af Add support for running F427-004
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12358 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-05 12:22:11 +00:00
Emmanuel Briot
93eb3318d3 (Check_URI): New subprogram, so that we can accept both relative and absolute
URI (F427-004)
(Is_Valid_IRI): only accept absolute URIs


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12356 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-05 08:53:27 +00:00
Emmanuel Briot
03c195b696 (Print): No need for complex algorithms to print the namespace declarations,
since we are in fact saving them in the DOM tree now as required by the
 DOM standard. This simplifies the code, and removes valgrind errors for
 F502-022


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12352 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-05 08:48:49 +00:00
Emmanuel Briot
11cbacf749 Run in -silent mode, so that nothing is printed in case of success. This is
needed for the nightly runs


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12351 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-05 08:19:36 +00:00
Emmanuel Briot
68ce86cd51 In -silent -auto mode, do not print anything unless there are some actual
failures. This is needed for the nightly runs


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12350 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-05 08:19:16 +00:00
Emmanuel Briot
b3fb64eea3 Disable rmt-ns10-033, since the test is incorrect (I had a local fix of the
testsuite, but there are nightly failures otherwise)


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12349 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-05 07:27:00 +00:00
Emmanuel Briot
f30a1085d8 Remove leading blank lines (F503-006)
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12348 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-04 10:23:50 +00:00
Emmanuel Briot
20e570fac0 Add support for running tests under valgrind
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12347 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-04 09:56:24 +00:00
Emmanuel Briot
100293519f Better support of valgrind
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12346 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-04 09:54:51 +00:00
Emmanuel Briot
2e519e3056 Add support Makefiles for running all testsuite with a single command.
Inspired by F503-007


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12345 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-04 09:52:10 +00:00
Emmanuel Briot
4fee3daabb Initial revision, to make sure we properly run the act_testsuite as well
as the official w3c testsuite. Part of F503-007


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12344 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-04 09:46:45 +00:00
Emmanuel Briot
1fdf4ce8a5 Fix all memory leaks reported by valgrind when running testxml. Since the
latter parses more than 2000 different files with all the possible errors
 that should indicate there are no remaining memory leaks in XML/Ada.
(Sax.Models.Content_Model): New reference-counted type needed for the above.
 This forces a minor API change in SAX.Readers for some of the subprograms,
 which are likely not used by customers since they only deal with the DTD
 which XML/Ada doesn't use anyway


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12343 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-04 09:46:10 +00:00
Emmanuel Briot
9d8f4565b7 (Print): Do not print the definition of the "xml" namespace, since this is
predefined


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12342 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-03 14:02:19 +00:00
Emmanuel Briot
5af4f09a16 (Print): Fix double-deallocation reported by valgrind, when using shared strings
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12341 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-03 13:55:07 +00:00
Emmanuel Briot
898ef74cb5 Make valgrind happy with a "conditional jump depends on uninitialized variable".
These were all gratuitous warnings in this case, but that makes valgrind's
 output more readable in any case


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12340 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-03 13:40:50 +00:00
Pascal Obry
da2c549e46 (Is_Valid_URN): Remove check for the third part of the urn as in current usage
this is optional.
Work for F502-022.
Minor reformatting.


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12339 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-03 13:30:00 +00:00
Emmanuel Briot
9660e9b6b3 (Print_Namespace_Declaration_Attribute): New subprogram
(Print_Namespace_Declaration_Element): Also output the required namespaces
 for the attributes. Fixes regression in the ACT testsuite


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12338 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-03 13:22:47 +00:00
Emmanuel Briot
7e7937329a (Recursive_Print): avoid duplicate of namespace declarations, reported in
F503-007


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12336 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-03 12:58:55 +00:00
Emmanuel Briot
bc34a2e19d Make this file valid XML once again, although no such guarantee is made
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12335 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-03 12:38:37 +00:00
Emmanuel Briot
36f1602868 Error message now speaks of IRI instead of URI, to be more precise.
Part of F502-022


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12334 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-03 08:45:56 +00:00