Uploaded image for project: 'cTAKES'
  1. cTAKES
  2. CTAKES-446

Piper file parameter value ignored when it contains quoted equals

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.0.0
    • Fix Version/s: None
    • Component/s: ctakes-core
    • Labels:
    • Environment:
      Java 1.8

      Description

      In piper file definition, parameters with a quoted "equals" sign in the parameter value are not picked up by the piper file reader.

      This occurs because the NAME_VALUE_PATTERN regular expression ignores parameter values containing "equals" signs. This pattern is valid in some cases, such as definition of a DBCollectionReader reader.

      Example:

      // Database Reader
      // Read documents from a database.
      reader org.apache.ctakes.ytex.uima.DBCollectionReader queryGetDocumentKeys="select txt.NOTE_ID instance_id from Note_Txt txt" queryGetDocument="select Note_text from Note_Txt txt where NOTE_ID = :instance_id"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                smullane Sean Mullane
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: