1
1
-- ----------------------------------------------------------------------------
2
2
-- XML/Ada - An XML suite for Ada95 --
3
3
-- --
4
- -- Copyright (C) 2003-2017 , AdaCore --
4
+ -- Copyright (C) 2003-2021 , AdaCore --
5
5
-- --
6
6
-- This library is free software; you can redistribute it and/or modify it --
7
7
-- under terms of the GNU General Public License as published by the Free --
@@ -439,7 +439,7 @@ package body Schema.Readers is
439
439
is
440
440
pragma Unreferenced (Public_Id, System_Id);
441
441
H : constant Validating_Reader_Access :=
442
- Validating_Reader_Access (Handler) ;
442
+ Validating_Reader (Handler. all )' Access ;
443
443
begin
444
444
Add_Notation (Get_NFA (H.Grammar), Find_Symbol (H.all , Name));
445
445
end Hook_Notation_Decl ;
@@ -454,7 +454,7 @@ package body Schema.Readers is
454
454
Atts : access Sax_Attribute_List)
455
455
is
456
456
H : constant Validating_Reader_Access :=
457
- Validating_Reader_Access (Handler) ;
457
+ Validating_Reader (Handler. all )' Access ;
458
458
No_Index : constant Integer := Get_Index
459
459
(Atts.all , H.XML_Instance_URI, H.No_Namespace_Schema_Location);
460
460
Location_Index : constant Integer := Get_Index
@@ -971,7 +971,7 @@ package body Schema.Readers is
971
971
Elem : Element_Access)
972
972
is
973
973
H : constant Validating_Reader_Access :=
974
- Validating_Reader_Access (Handler) ;
974
+ Validating_Reader (Handler. all )' Access ;
975
975
Success : Boolean;
976
976
Through_Any : Boolean;
977
977
Through_Process : Process_Contents_Type;
@@ -1051,7 +1051,7 @@ package body Schema.Readers is
1051
1051
(Handler : access Sax_Reader'Class;
1052
1052
Ch : Unicode.CES.Byte_Sequence) is
1053
1053
begin
1054
- Internal_Characters (Validating_Reader_Access (Handler) , Ch);
1054
+ Internal_Characters (Validating_Reader (Handler. all )' Access , Ch);
1055
1055
end Hook_Characters ;
1056
1056
1057
1057
-- -----------------------------
@@ -1063,7 +1063,7 @@ package body Schema.Readers is
1063
1063
Ch : Unicode.CES.Byte_Sequence)
1064
1064
is
1065
1065
H : constant Validating_Reader_Access :=
1066
- Validating_Reader_Access (Handler) ;
1066
+ Validating_Reader (Handler. all )' Access ;
1067
1067
NFA : constant Schema_NFA_Access := Get_NFA (H.Grammar);
1068
1068
S : State;
1069
1069
Descr : access Type_Descr;
0 commit comments