Opened 10 years ago

Closed 8 years ago

#41 closed defect (fixed)

wrong/missing information about error position

Reported by: alexander.basov Owned by: somebody
Priority: minor Milestone: 0.4.0
Component: Matreshka - XML Processor Version: 0.2.0
Keywords: Cc:

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)

Attachments (1)

matr_wrong_err_info.tar.gz (1.5 KB ) - added by alexander.basov 10 years ago.

Download all attachments as: .zip

Change History (6)

by alexander.basov, 10 years ago

Attachment: matr_wrong_err_info.tar.gz added

comment:1 by vadim.godunko, 10 years ago

Version: 2.0

comment:2 by vadim.godunko, 8 years ago

In [3461]:

Pass current position when parse exception is constructed.

Refs #41.

comment:3 by vadim.godunko, 8 years ago

In [3462]:

Add automated test.

Refs #41.

comment:4 by vadim.godunko, 8 years ago

Milestone: 0.4.0
Version: 0.2.0

comment:5 by vadim.godunko, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.