Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Abandoned
-
None
-
None
Description
(Originally reported as CMVC defect 3117)
We need to revisit some special handling of document
text. The CPM currently, for Vinci deployed-services,
attempts to preserve the document text in case the
service omits the document text from the XCAS it
returns (as an optimization). In practice, our services no
longer do this optimization - they always return the text.
The potential issue is that the CPM does a brute-force
search of CasData looking for the "document text".
For single-sofa cases, this is always the first
(or near to the first) element of the CasData, so
no problem. But for multiple-sofa services, there
is no "document text" element at all. In this
case the CPM would do a brute force search of the
entire CasData on each call.