Commit Graph

1191 Commits

Author SHA1 Message Date
Olivier Ramonat
40a5e824ce Bump version to 4.0
Part of J916-024

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/branches/xmlada/xmlada-4.0@165837 936e1b1b-40f2-da11-902a-00137254ae57
2010-10-14 09:24:54 +00:00
Emmanuel Briot
66a567e78a (Process): properly reset the final state
Added test that a nested NFA can override events from the superstate
 J302-043

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@164965 936e1b1b-40f2-da11-902a-00137254ae57
2010-09-22 14:39:18 +00:00
Emmanuel Briot
84021630ab (Dump): review dot output. In particular, nested automata are only
displayed once, not once for each node they are nested in.
 J302-043

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@164964 936e1b1b-40f2-da11-902a-00137254ae57
2010-09-22 14:39:16 +00:00
Emmanuel Briot
bc2879b6d2 (Dump): new subprogram, for a Nested_NFA
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@164963 936e1b1b-40f2-da11-902a-00137254ae57
2010-09-22 14:39:15 +00:00
Emmanuel Briot
600b3b6e15 Added support for state user data
(For_Each_Active_State): new subprogram
 J302-043

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@164962 936e1b1b-40f2-da11-902a-00137254ae57
2010-09-22 14:39:13 +00:00
Emmanuel Briot
bbf5be9cac (Dump): added support for dumping the state machine to "dot" format,
so that we can have a graphical representation. Useful for debugging
 J302-043

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@164961 936e1b1b-40f2-da11-902a-00137254ae57
2010-09-22 14:39:12 +00:00
Emmanuel Briot
5536bef29b Minor cleanup
(Final_Status): new type

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@164960 936e1b1b-40f2-da11-902a-00137254ae57
2010-09-22 14:39:10 +00:00
Emmanuel Briot
09c2fad0f5 (Dump): minor cleanup in the output (more compact now)
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@164959 936e1b1b-40f2-da11-902a-00137254ae57
2010-09-22 14:39:07 +00:00
Emmanuel Briot
c1df924552 (Sax.State_Machines): added support for hierarchical state machines
For J302-043

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@164854 936e1b1b-40f2-da11-902a-00137254ae57
2010-09-20 13:17:41 +00:00
Emmanuel Briot
465a18fea5 (Sax.State_Machine): new package
Needed for J302-043 (implementation of schema reader and later XPath)

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@164853 936e1b1b-40f2-da11-902a-00137254ae57
2010-09-20 13:17:39 +00:00
Emmanuel Briot
9ca921c90f Added missing file
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@164157 936e1b1b-40f2-da11-902a-00137254ae57
2010-09-02 06:33:27 +00:00
Emmanuel Briot
149a6cbb71 Disable two tests that rely on filesystem case-insensitivity, and
therefore resulted on different results on Windows and MacOS
 J831-006

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@164136 936e1b1b-40f2-da11-902a-00137254ae57
2010-09-01 13:07:33 +00:00
Emmanuel Briot
189c21d06b Cleanup handling of debug output: all functions that do the output are
now shared in schema.ads itself, rather than split in several packages.
 In particular, this allows all output functions to take into account the
 indentation, and do colored output in more packages

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@164135 936e1b1b-40f2-da11-902a-00137254ae57
2010-09-01 13:07:27 +00:00
Emmanuel Briot
425050aced (Incomplete_Encoding): new exception
J818-003

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@164061 936e1b1b-40f2-da11-902a-00137254ae57
2010-08-31 09:46:19 +00:00
Emmanuel Briot
b639a6f7c0 (Validate_Characters): for a restriction, we need to reset the mask
every time, so that we check all facets for all types.
 Fixes regressions on sparc-solaris
 J831-006

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@164055 936e1b1b-40f2-da11-902a-00137254ae57
2010-08-31 08:59:38 +00:00
Bob Duff
7693bb382c Back out the two previous changes, in particular the one that says ``Use Equal
instead of "=" ...'', because the "=" is not actually illegal in Ada 2012, and
the compiler has been fixed to accept this code.

Part of J803-019.


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@163417 936e1b1b-40f2-da11-902a-00137254ae57
2010-08-06 15:56:52 +00:00
Bob Duff
83f27fccd7 Minor reformatting
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@163354 936e1b1b-40f2-da11-902a-00137254ae57
2010-08-05 14:11:27 +00:00
Bob Duff
557c2345d9 Use Equal instead of "=" in generics, so it is legal in Ada 2012. See AI-123.
Part of J803-019.


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@163333 936e1b1b-40f2-da11-902a-00137254ae57
2010-08-05 00:40:36 +00:00
Emmanuel Briot
ae9c3538e1 (Get_Tag_Name): fix improper renaming
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@162093 936e1b1b-40f2-da11-902a-00137254ae57
2010-07-06 12:33:11 +00:00
Emmanuel Briot
4ba4e80c09 Make sure XML/Ada can be compiled with the ravenscar profile
J610-021

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@161746 936e1b1b-40f2-da11-902a-00137254ae57
2010-06-29 12:42:35 +00:00
Pascal Obry
a059ea01e9 Use the proper symbol for creating Node_Record.
(Create_Document): Properly initialize Symbols field with either
 the passed symbol table or the locally created one.
--
Work for J614-008.

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@161158 936e1b1b-40f2-da11-902a-00137254ae57
2010-06-14 16:11:07 +00:00
Emmanuel Briot
a0925fadd8 (Create_Document): the symbol table parameter is now optional, for
backward compatibility.
 In exchange, a few subprograms (introduced since the last release of
 XML/Ada) require an additional symbol table parameter, to ensure the
 table in which Symbols are defined lives at least as long as the
 document. Without this, the symbols would be allocated in the parser's
 symbol table, which could be different from the document's, and be
 freed much earlier, resulting in Storage_Error.
Should fix J606-001

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@161067 936e1b1b-40f2-da11-902a-00137254ae57
2010-06-10 15:50:46 +00:00
Emmanuel Briot
4e98965e99 (Create_Document): Temporarily revert previous checkin, and keep the
symbols parameter optional for ease of use. There is a risk that users
 do not set it to the same value as from the parser, in which case that
 could result in a Storage_Error if the table from the parser is destroyed
 first (since we keep some of its symbols in the tree).
 Need more time to think about the design
 J606-001

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@160795 936e1b1b-40f2-da11-902a-00137254ae57
2010-06-07 08:32:29 +00:00
Emmanuel Briot
d57ffadde3 (Create_Document): make the symbols parameter mandatory.
J606-001

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@160794 936e1b1b-40f2-da11-902a-00137254ae57
2010-06-07 08:09:36 +00:00
Pascal Obry
2c2c64e3b7 Ignore *.dll
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@160789 936e1b1b-40f2-da11-902a-00137254ae57
2010-06-06 18:24:47 +00:00