Commit Graph

1543 Commits

Author SHA1 Message Date
Emmanuel Briot
bf7c34e5c1 Branched for 17 has been done
Change-Id: I0a3adde686427d533f4fb7226e9bbd4d3b4c29f2
2016-10-07 16:48:25 +02:00
Emmanuel Briot
1dba7d2453 ("<", "<="): attempt to make XML_Float comparison work on ppc-linux
Change-Id: I8401a06b41e8f88ecff1eb60bc5e3df4631547b6
2016-10-03 10:48:30 +02:00
Emmanuel Briot
8b8bfd4918 Minor adjustment
Change-Id: I1bc749cda535b51a25a5f9ad9a8bf919456c77ca
2016-08-17 14:00:08 +02:00
Emmanuel Briot
38ea3e50e2 Remove unnecessary pragma
Change-Id: I2c3b5660bc06d23a33b0c0843cfd770d1dc7d99c
2016-08-17 13:55:15 +02:00
Emmanuel Briot
bbf72ad4f4 Compare local names when overriding inherited attributes.
Second issue from P801-022

Change-Id: I73a488658f2110f6735d7531b4620d13783c82e1
2016-08-17 13:04:10 +02:00
Emmanuel Briot
a685dd2dfc Normalize XSD path to avoid duplicate parsing
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
2016-08-17 12:12:44 +02:00
Emmanuel Briot
50d313e1f8 Increase internal limit for maxOccurs
We still emit a warning for large values, but do not prevent validating
documents.

P812-015

Change-Id: If61b53425f27417f0ae108c5a79b8edd7f690f8c
2016-08-16 17:30:10 +02:00
Emmanuel Briot
2802f3f3c0 Add support for passing extra switches to GPRBUILD
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
2016-06-30 09:26:38 +02:00
Emmanuel Briot
0d89040fe6 Fix handling of <choice> with elements with maxOccurs
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
2016-06-23 13:50:48 +02:00
Emmanuel Briot
b02d093dc7 Fix handling of sequences with unbounded elements
The sequence itself was allowed to repeat itself

P616-033

Change-Id: I62f34a63b34da17da4a8c9a6afb253f88196a981
2016-06-17 11:14:32 +02:00
Emmanuel Briot
1184d97d88 Add support for unicode 8 names
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
2016-06-02 10:53:20 +02:00
Emmanuel Briot
8a9536bf16 Minor doc update to remind that lists must be freed.
P404-033

Change-Id: I2bbe86cd2268a959d5fee4b11d67c69102840552
2016-04-04 22:24:30 +02:00
Emmanuel Briot
8eaf7e2a21 Rename features file
For consistency with other products, as discussed in P229-026

Change-Id: Iae8bfe2d526c57760b40da5283c27481fd24f3a9
2016-03-07 12:53:26 +01:00
Emmanuel Briot
95931984d1 Improve support for filtering which tests are run and displayed
This helps to analyze memory leaks through valgrind
L328-026

Change-Id: Id56138a9c2e9a36221bf34268cd7f6dc9238f6fa
2016-02-17 18:02:08 +01:00
Emmanuel Briot
a56a0902a9 Fix memory leaks while validating invalid XML schemas
L328-026

Change-Id: Ic49c17e2d275861131178506fd55d07bd2d8f412
2016-02-17 18:02:08 +01:00
Emmanuel Briot
1262b6c064 Update copyright headers to 2016
Change-Id: I70135cb5146de304f14587d1a518c94e804a8e6c
2016-02-17 18:02:07 +01:00
Nicolas Roche
2f701b3874 Update makefile to build, install and clean static pic version
Part of P217-025

Change-Id: I3a5fd5c593b8c97c4ff41199bf4b858fb0eb4e9c
2016-02-17 12:56:49 +01:00
Nicolas Roche
7e881a5fda Add support for xmlada static pic
Part of P204-021

Change-Id: I00641908d80a6b6afe058a3763091476fbe7ea8a
2016-02-04 12:37:28 +01:00
Emmanuel Briot
5278eef210 Fix validation of XML_Float comparisons
OC02-009

Change-Id: I16b62a613f361412ac1c9f423538217a56778bc6
2015-12-03 10:15:55 +01:00
Emmanuel Briot
dbc8bab48e (Current_Node): new subprogram
OB19-014

Change-Id: If39f990d0c2e9aebaae9f6b5dd9d19570dfc8401
2015-11-19 14:13:24 +01:00
Vasiliy Fofanov
c5ea01355b Mask errors from gprclean so that this target can always run successfully.
Change-Id: I1cb8b33448479bb7be2068232ff230698781c550
TN: OB03-038
2015-11-11 12:00:49 +01:00
Emmanuel Briot
765cacd81b Move '-m' to the GPRBUILD variable, so that scripts can override it.
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
2015-11-07 10:44:34 +01:00
Emmanuel Briot
24b968c74d Ensure the obj directory exists in the tests
Temporary files are stored there for each testsuite

Change-Id: Idd56705d519f6abbcfb2708414a7968c64437fdf
2015-10-28 10:49:33 +01:00
Emmanuel Briot
9a0dec227a Bump version number to 17.0w
OA27-052

Change-Id: I132eebbef62860cfe85954c54bb083fd0f5ee33a
2015-10-28 10:40:26 +01:00
Vasiliy Fofanov
3937fca8b0 Correct last commit.
Change-Id: I0ca13bb58118f8bd24029ea08d4b9c8d70589366
TN:OA15-004
2015-10-20 12:47:27 +02:00