uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] [Resolved] (UIMA-3934) excess white-space in html version of cas viewer
Date Sun, 06 Jul 2014 01:02:46 GMT

     [ https://issues.apache.org/jira/browse/UIMA-3934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marshall Schor resolved UIMA-3934.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.6.1SDK
         Assignee: Marshall Schor

> excess white-space in html version of cas viewer
> ------------------------------------------------
>
>                 Key: UIMA-3934
>                 URL: https://issues.apache.org/jira/browse/UIMA-3934
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.6.0SDK
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>            Priority: Minor
>             Fix For: 2.6.1SDK
>
>
> I recently made use of the html viewer code in the AnnotationViewerDialog class, using
the html viewer alternative.  It uses as input a version of the CAS produced by CasToInlineXml
(line 445).  If the annotations involved are nested, the result has extra line feeds and lots
of extra white space (corresponding to the indenting of the nested xml elements produced by
the CasToInlineXml).  
> The fix is (now) easy since we've recently added a flag to control the indenting.  Change
this (and other uses as appropriate) to set the (new) formattedOutput flag of CasToInlineXml
to false.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message