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

Piper file parameter value ignored when it contains quoted equals

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.0.0
    • 4.0.1
    • ctakes-core
    • 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

              seanfinan Sean Finan
              smullane Sean Mullane
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: