Opened 10 years ago

Closed 10 years ago

#126 closed defect (fixed)

XML Writer Error

Reported by: Maxim Reznik Owned by:
Priority: major Milestone: 0.2.0
Component: Matreshka - XML Processor Version: 0.1.1
Keywords: Cc:


Trying to make a copy of an XML using SAX.Parser+Writer pair we got an error.

XML Example:
<?xml version="1.0" encoding='UTF-8'?>
<asp:root xmlns:asp="">
<asp:with package="League.Calendars.ISO_8601"/>

<html xmlns="">
<p>Текущее время




Error like:

Catchpoint 1, CONSTRAINT_ERROR at 0x00007ffff76da535 in xml.sax.writers.start_element (self=..., namespace_uri=..., local_name=..., qualified_name=...,

attributes=<value optimized out>)
at /home/godunko/Matreshka/matreshka/source/xml/sax/xml-sax-writers.adb:340

340 raise Constraint_Error

/sax_events_printer A.xml

(Fatal_Error) 1:93: 'syntax error'


Change History (3)

comment:1 by vadim.godunko, 10 years ago

In [2036]:

Add automated test for #126.

Refs #126.

comment:2 by vadim.godunko, 10 years ago

In [2037]:

Fix handling of namespace mappings.

Refs #126.

comment:3 by vadim.godunko, 10 years ago

Component: MatreshkaMatreshka - XML
Milestone: 0.2.0
Resolution: fixed
Status: newclosed
Version: 0.1.1
Note: See TracTickets for help on using tickets.