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

CasToInlineXml truncates attributes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.1SDK
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: