Description: Handle XMLAda split in modules.
 The xmlada project gathers all xmlada_* library projects.  Building
 templates_parser with more specific dependencies avoids an unneeded
 dependency on xmlada_schema.
 .
 The dependency on XMLAda is a detail of the Templates_Parser.XML
 implementation, and xmlada should not be required to compile a
 program , at least if Externally_Built is set in the installed
 templates_parser.gpr.
Author: Nicolas Boulenguez <nicolas@debian.org>

--- a/config/tp_xmlada_installed.gpr
+++ b/config/tp_xmlada_installed.gpr
@@ -16,7 +16,10 @@
 --  to http://www.gnu.org/licenses for a complete copy of the license.      --
 ------------------------------------------------------------------------------
 
-with "xmlada";
+with "xmlada_unicode";
+with "xmlada_input";
+with "xmlada_sax";
+with "xmlada_dom";
 
 abstract project TP_XMLAda is
    for Source_Dirs use ();
--- a/regtests/tests/0109_check_mem/check_mem.gpr
+++ b/regtests/tests/0109_check_mem/check_mem.gpr
@@ -17,7 +17,6 @@
 ------------------------------------------------------------------------------
 
 with "templates_parser";
-with "xmlada";
 
 project check_mem is
 
--- a/regtests/tests/0107_translations_demo/translations_demo.gpr
+++ b/regtests/tests/0107_translations_demo/translations_demo.gpr
@@ -17,7 +17,6 @@
 ------------------------------------------------------------------------------
 
 with "templates_parser";
-with "xmlada";
 
 project translations_demo is
 
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@
 ENABLE_SHARED = $(shell $(GNAT) make -c -q -p -XTARGET=$(TARGET) \
 			-Pconfig/setup/test_shared 2>/dev/null && echo "true")
 
-ifeq ($(shell gnat ls -Pxmlada 2>&1 | grep 'project file .* not found'),)
+ifeq ($(shell gnat ls -Pxmlada_dom 2>&1 | grep 'project file .* not found'),)
 TP_XMLADA    = Installed
 else
 TP_XMLADA    = Disabled
