This patch removes several unnecessary pragma Unreferenced's identified
due to work under U122-031.
[changelog]
* schema/schema-schema_readers.adb
(Create_NFA): Remove pragmas.
TN: U122-031
Change-Id: Ice4d02315100cd4b9ad31cba16ff5d0e54976527
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