Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#9 closed defect (fixed)

SAX parser crash on entity reference

Reported by: vadim.godunko Owned by: somebody
Priority: major Milestone: 0.0.6
Component: Matreshka - XML Processor Version:
Keywords: Cc:


SAX parser crash when processing entity reference which replacement text is empty string.

<!DOCTYPE test [
  <!ENTITY my "">
> ./demo empty_entity.xml
>>> (Internal_Entity_Decl): 'my' => ''
>>> (Start_Element): '' 'test' 'test'

raised CONSTRAINT_ERROR : matreshka-internals-utf16.adb:170 index check failed

Change History (4)

comment:1 by vadim.godunko, 12 years ago

(In [603]) Add testcase.

Refs #9.

comment:2 by vadim.godunko, 12 years ago

(In [732]) Fix crash on reference to entity with empty replacement text.

Refs #9.

comment:3 by vadim.godunko, 12 years ago

Resolution: fixed
Status: newclosed

comment:4 by vadim.godunko, 12 years ago

Milestone: 0.1
Note: See TracTickets for help on using tickets.