Skip to content

Incorrect treatment of comments in a <p> (TEI NKJP) #24

@GoogleCodeExporter

Description

@GoogleCodeExporter
Comment inside a paragraph:

<p xml:id="p-13"><!--<4>--></p>

There are definitely no segments here, while Pantera for the reason I don't 
know identifies (and tags) the following:

<!-- -\- -->
<seg corresp="text_structure.xml#string-range(p-13,0,2)" 
xml:id="segm_p-13.697-seg"/>
<!-- > -->
<seg corresp="text_structure.xml#string-range(p-13,2,1)" nkjp:nps="true" 
xml:id="segm_p-13.698-seg"/>


Haven't checked what happens when the comment is not the only content of the 
paragraph. However, it should work in this case as well, as if the commented 
text was not there.

Original issue reported on code.google.com by rybencj...@gmail.com on 15 Jul 2011 at 10:13

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions