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

CasToInlineXml truncates attributes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.3.1SDK
    • None
    • None

    Description

      org.apache.uima.util.CasToInlineXml has a hard coded limit of 64 characters for attribute values. This makes inline xml suitable only for debugging, and the documentation contains no warning to this effect.

      Given that this component is part of uima-core (and not just example code) I would expect such pitfalls to be at least documented. A better solution would be to make the truncating optional/configurable, so that inline xml could be used as a basis for further processing outside UIMA.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jg Jens Grivolla
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: