... to allow to reuse node inside the same document and to avoid dangling
pointers.
Raise exception when node is not found as required by DOM specification.
Change-Id: I46eabf3938afba56a1f5061db6f1b2ded186a6e6
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
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
We were improperly clone some of the properties of the node attributes,
and as a result did not always import all attributes.
Patch suggested by customer
N910-017
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@232345 936e1b1b-40f2-da11-902a-00137254ae57
Fix handling of features and known-problems, which were not using
correct versions of XML/Ada releases (refering to 4.4.1 instead of
the more recent 4.4.2).
N910-017
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@232255 936e1b1b-40f2-da11-902a-00137254ae57
These subprograms, part of DOM level 2 and level 3, are now implemented.
(Append_Child): now raises an exception when the new node is not part of
the same document.
These new subrograms make it possible to move or copy nodes from one
document to another. So far it was possible to do this via calls to
Append_Child, but this resulted in invalid memory access when one of
the documents was freed.
N411-012
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@227165 936e1b1b-40f2-da11-902a-00137254ae57
Utf8_Find_Next_Char): new subprograms
(Is_Valid_Name_Char, Is_Valid_Name_Startchar): minor optimization by
using lookup tables.
MA08-027 and MA04-050
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@216794 936e1b1b-40f2-da11-902a-00137254ae57