Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-3934

excess white-space in html version of cas viewer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.6.0SDK
    • 2.7.0SDK
    • Core Java Framework
    • None

    Description

      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.

      Attachments

        Activity

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: