You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ctakes.apache.org by "Sean Mullane (JIRA)" <ji...@apache.org> on 2017/05/24 15:28:04 UTC
[jira] [Created] (CTAKES-446) Piper file parameter value ignored
when it contains quoted equals
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)