Custom Query (429 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (58 - 60 of 429)

Ticket Resolution Summary Owner Reporter
#262 fixed Pass Vector to SAX.Input_Sources somebody Maxim Reznik
Description

May be XML.SAX.Input_Sources.Streams.Element_Arrays should accept League.Stream_Element_Vectors.Stream_Element_Vector as source of data.

#269 invalid In SAX.Writer xml: prefix not avaliable by default somebody Maxim Reznik
Description

This code caused CONSTRAINT_ERROR with "Message: namespace is not mapped to any prefix"

      --  setting xml:lang attr
      Attrs.Set_Value
       (Namespace_URI => XML_URI,
        Local_Name    => Lang_Attribute,
        Value         => Self.Language);

--      Writer.Start_Prefix_Mapping
--        (Namespace_URI => XML_URI,
--         Prefix        => To_Universal_String ("xml"));

      Writer.Start_Element (Qualified_Name => Message_Element,
                            Attributes     => Attrs);

Vadim says Start_Prefix_Mapping should be optional.

#283 wontfix Memory leak in Split somebody Maxim Reznik
Description
with League.Strings;
with League.String_Vectors;

procedure Aaa is
   Target : constant League.Strings.Universal_String :=
     League.Strings.To_Universal_String ("NT.T");
   Items : constant League.String_Vectors.Universal_String_Vector
     := Target.Split ('.');
begin
   null;
end Aaa;
with "league";

project aaa is

   for Main use ("aaa.adb");

   package Compiler is
      for Default_Switches ("ada") use
        ("-O0", "-g", "-gnat12");
   end Compiler;

end aaa;

valgrind --leak-check=full --show-reachable=yes ./aaa

==623== HEAP SUMMARY:
==623==     in use at exit: 136 bytes in 3 blocks
==623==   total heap usage: 4 allocs, 1 frees, 184 bytes allocated
==623== 
==623== 40 bytes in 1 blocks are still reachable in loss record 1 of 3
==623==    at 0x4C2C66D: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==623==    by 0x57B0837: __gnat_malloc (in /home/reznik/local/20121024/lib/gcc/x86_64-pc-linux-gnu/4.7.3/rts-native/adalib/libgnat-7.1.so)
==623==    by 0x5055C82: matreshka__internals__string_vectors__allocate (matreshka-internals-string_vectors.adb:127)
==623==    by 0x5056433: matreshka__internals__string_vectors__append (matreshka-internals-string_vectors.adb:138)
==623==    by 0x5099DBD: league__strings__split (league-strings.adb:1368)
==623==    by 0x404EE3: _ada_aaa (aaa.adb:8)
==623==    by 0x404BA2: main (b~aaa.adb:409)
....
Note: See TracQuery for help on using queries.