Custom Query (429 matches)
Results (31 - 33 of 429)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#40 | fixed | escape restricted XML 1.1 characters in pretty writer | ||
Description |
In XML 1.1 mode pretty writer must replace all restricted characters by equivalent character reference. |
|||
#41 | fixed | wrong/missing information about error position | ||
Description |
I tried to parse the following erroneous XML and got wrong/missing information about error position <?xml version='1.0'?><a></a><b><?xml version='1.0'?><c> Information about error, printed from Fatal_Error handler: Start_Element : a End_Element : a Fatal_Error: syntax error Line : 0 Column : 0 Locator ( 1: 29) |
|||
#42 | fixed | CONSTRAINT_ERROR at matreshka/source/xml/xml/xml-sax-simple_readers-parser.adb:958 | ||
Description |
I've got constraint error during parsing XML in AXMPP library, with incremental SAX parser, which is read data from socket as source. I reset XML Reader each time, when new XMPP stream is opened with Self.Reader.Set_Input_Source (Self.Source'Access); Catchpoint 2, CONSTRAINT_ERROR at 0x00007ffff5995603 in xml.sax.simple_readers.parser.yyparse (self=<value optimized out>, <selfL>=<value optimized out>) at /mnt/work/programming/projects/matreshka/source/xml/xml/xml-sax-simple_readers-parser.adb:958 958 YY.TOS := YY.TOS - YY_Rule_Length (YY_Rule_Id) + 1; (gdb) bt #0 <__gnat_debug_raise_exception> (e=0x7ffff3ece900) at s-except.adb:46 #1 0x00007ffff3ab68b7 in <__gnat_raise_nodefer_with_msg> (e=0x7ffff3ece900) at a-except.adb:834 #2 0x00007ffff3ab6cae in ada.exceptions.raise_with_location_and_msg (e=0x7ffff3ece900, f=<value optimized out>, l=<value optimized out>, m=<value optimized out>) at a-except.adb:999 #3 0x00007ffff3ab6898 in <__gnat_raise_constraint_error_msg> (file=<value optimized out>, line=<value optimized out>, msg=(system.address) 0x7ffff39ab2a0) at a-except.adb:799 #4 0x00007ffff3ab6de6 in <__gnat_rcheck_12> (file=(system.address) 0x7ffff3ece900, line=19) at a-except.adb:1087 #5 0x00007ffff5995603 in xml.sax.simple_readers.parser.yyparse (self=<value optimized out>, <selfL>=<value optimized out>) at /mnt/work/programming/projects/matreshka/source/xml/xml/xml-sax-simple_readers-parser.adb:958 #6 0x00007ffff59b2d97 in xml.sax.simple_readers.parse (self=0x7ffff3ece900, <selfL>=19) at /mnt/work/programming/projects/matreshka/source/xml/xml-sax-simple_readers.adb:246 #7 0x00007ffff796ddbc in xmpp.sessions.read_data (self=0x6cfdc0, <selfL>=0) at /mnt/work/programming/projects/axmpp/trunk/axmpp/source/xmpp-sessions.adb:799 #8 0x00007ffff79602f3 in xmpp.networks.recieve (self=0x6cfdc0, <selfL>=0) at /mnt/work/programming/projects/axmpp/trunk/axmpp/source/xmpp-networks.adb:218 #9 0x00007ffff795e29e in xmpp.networks.reader_task (<_task>=0x80b8b0) at /mnt/work/programming/projects/axmpp/trunk/axmpp/source/xmpp-networks.adb:82 #10 0x00007ffff3f09b11 in system.tasking.stages.task_wrapper () from /opt/gnat/lib/gcc/x86_64-pc-linux-gnu/4.3.6/adalib/libgnarl-2010.so (gdb) |
Note:
See TracQuery
for help on using queries.