Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
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.