Skip to content

Reinsert_wordalign.pm: Wrongly generated nested tags #53

@GoogleCodeExporter

Description

@GoogleCodeExporter
src      = '<g id="1"><g id="2"> Planning <x id="3"/> Designing Windows Vista 
Deployments </g> <g id="4"></g></g>'
MT       = 'plánování a návrh nasazení systému Windows Vista'
expected = '<g id="1"> <g id="2"> plánování a <x id="3"/> návrh nasazení 
systému Windows Vista </g> <g id="4"> </g> </g>'

received = '<g id="1"> <g id="2"> plánování a <x id="3"/> návrh nasazení 
systému Windows Vista </g> </g> <g id="4"> </g>'


As we can see, the  <g id="4"> </g>  tag is placed after the closing tag of the 
element id=1 instead of id=2.

See the 'test_nested_g_tags' sub inside reinsert_wordalign_test.pl(committed in 
the  r089195b20778 revision). 

Original issue reported on code.google.com by [email protected] on 6 Dec 2013 at 1:06

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions