S823-015
The character code in base64 encoding preceding the terminating '='
must be a multiple of 4. This change fixes situation where this
character could be any base64 character, which could happen when
one-but-last character code was a multiple of 16.
Change-Id: I9fe4fb266d07e127e9e64be9404571a91b32bcdb
Reduce the SAX parser symbol hash table size
from 65536 entries to 1024.
This comes from the GitHub pull request #6
TN: R215-022
Change-Id: I6790ad5b00dde563833cbe6493c57e68caba0ea3
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
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
some cases when not validating. This is when deriving from the
Sax.Readers.Reader type.
N109-044
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@221780 936e1b1b-40f2-da11-902a-00137254ae57
compiler, it is possible that the variable Parser.Attributes has
been freed but not updated when the hook returns with an exception.
Fixes error in M903-043
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@217933 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
For compatiblity with older XML documents, XML/Ada can now be set up
to allow relative URI when declaring namespaces.
M916-017
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@215831 936e1b1b-40f2-da11-902a-00137254ae57
by the compiler in some cases
Fixes nightly run on caen:
schema-validators.ads:285:04:instantiation error at sax-state_machines.adb:1934
schema-validators.ads:285:04:null cannot be of an anonymous access type
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@213799 936e1b1b-40f2-da11-902a-00137254ae57
when they are specified in the XSD file.
M325-034
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@204783 936e1b1b-40f2-da11-902a-00137254ae57