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
Needed on some platforms like Darwin for shared libs that might get
repositioned by installers.
Also useful for passing -d to monitor progress
Requested on githuba for commit 0f5b329
Change-Id: Icf78b82cd9f7bbcf81b9d3bbb11809078f4c84f1
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
In the context of the nightly builds, we do not want to use -m, since
that would not recompile properly when the runtime changes
Change-Id: Ie393a2e3b68b3568c57a435b1dfd57c7d1ee283f
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
(r317150 in the gnat repository)
Given a relative base directory, the function used to return a relative
filename, whereas it now always return an absolute filename. So the
testsuite was no longer looking for file in the schematest*/ directory.
OA12-034
Change-Id: I47e38978beb0dd16d6daf13fe4f22088cc539969