For the same reason as the external variables, shared.gpr can be a
source of conflict between different projects. For instance with AWS.
This change has no impact on the installation since shared.gpr is not
provided in the installation.
Part of T715-030.
Change-Id: Ie0ac01a23c34981b75055fbe8a45db9cc50a581f
When a XSD file is referenced via a relative path with symbolic links
or "." and "..", it could be parsed several times, possibly resulting
in errors like duplicate IDs.
P801-022
Change-Id: I7e12b67e3018b3fc3aeeccb5c428c9aea14dfa39
If a <choice> has two or more elements with a maxOccurs property,
they will allow a mix of the elements, when it should only allow a
repeat of one of the elements.
The simple fix to the state machine is in schema-schema_readers.adb.
But this change resulted in a regression in the testsuite, when one
of the elements in the <choice> is a <any>. At this point, we are
trying to replace the states in the state machine, but did not
properly chain them, and therefore some states accessible via
empty transitions were not properly accessible.
The order of suggested elements in error messages was reversed in
some cases, but the error message is still value, so adjust the
baseline.
P621-020
Change-Id: I1cfb58e2fd45cfd0fc1660fa8727ab679543ba5b
Contributed by Nicolas Boulenguez (nicolas at debian.org)
Remove the old convert.pl that had been used to import the old list of
names, and replace with a full-Ada importer instead.
Import all names from the Unicode 8 standard.
Change-Id: I03bfa4d0ff769abc8a3b2e23149e1b745f3a8f10
O930-031
XSD files with no namespace information cannot be mixed into the
same XML_Grammar, or they will conflict with each other. The
solution is therefore to preload each of them into its own XML_Grammar,
and then let the validating parser chose that grammar dynamically
by overriding the new primitive operation Parse_Grammar.
Change-Id: I337d09259c6b2b18d9b91b4ded847f7f8dcd6eab
Move all the */test/ directories to tests/*
Move all tests that potentially contain customer code or data to tests/adacore
These will be moved to a separate git repository
Part of O527-038
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@240170 936e1b1b-40f2-da11-902a-00137254ae57
To run the tests, we no longer need to have run "make" first.
Instead, "make test" requires: shared.gpr and the W3C tests, and will
only recompile the sources found in */test/*, not the code of XML/Ada itself.
So will "make run_test".
A new target "run_test_and_setenv" was added for developers who need to
test the local build.
NA17-039
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@233386 936e1b1b-40f2-da11-902a-00137254ae57
An aggregate project is now used to build XMLAda. The builder is now
gprbuild and the installation is conducted by gprinstall. This has
permitted a large clean-up of the makefile.
For N403-037.
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@232625 936e1b1b-40f2-da11-902a-00137254ae57
Fix regression N430-025.
For some reason, the compile is no longer emitted a constraint_error,
and therefore the output of the test had changed. Add an explicit test
instead.
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@227069 936e1b1b-40f2-da11-902a-00137254ae57
This is for consistency with GtkAda and GPS, and enables one to
chose the build mode at configure time rather than through environment
variables.
Use pragma Initialize_Scalars when in Debug mode, also for consistency.
N324-002
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@224970 936e1b1b-40f2-da11-902a-00137254ae57