ctakes-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Mullane (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CTAKES-446) Piper file parameter value ignored when it contains quoted equals
Date Wed, 24 May 2017 15:28:04 GMT
Sean Mullane created CTAKES-446:
-----------------------------------

             Summary: Piper file parameter value ignored when it contains quoted equals
                 Key: CTAKES-446
                 URL: https://issues.apache.org/jira/browse/CTAKES-446
             Project: cTAKES
          Issue Type: Bug
          Components: ctakes-core
    Affects Versions: 4.0.0
         Environment: Java 1.8
            Reporter: Sean Mullane
            Priority: Minor


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"



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message