Return-Path: X-Original-To: apmail-uima-user-archive@www.apache.org Delivered-To: apmail-uima-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9B66918AB7 for ; Mon, 12 Oct 2015 18:44:03 +0000 (UTC) Received: (qmail 95875 invoked by uid 500); 12 Oct 2015 18:37:14 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 95842 invoked by uid 500); 12 Oct 2015 18:37:13 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Delivered-To: moderator for user@uima.apache.org Received: (qmail 12224 invoked by uid 99); 9 Oct 2015 13:41:50 -0000 X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.821 X-Spam-Level: X-Spam-Status: No, score=-0.821 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=fnRYkq6V/sWWEdvIrVY0Y9eoeDW65OyAalsIOooF9iE=; b=bqjNNWEp9i0UzW1oeh5wjHOfKjlbLgDHbDgi7AhYLQ+fcPtM+gyP7W24AcKfDECcZr yVnhDOiP1vmoDV6fjE7bKKEWMjItmi09uatXfo8xtt8ZEFM2oXsCuPDPkogKSZX1PELZ C+jkXXOjj64bCrvCkkvoBHZLQ/CaV3Os8sOSPRLR/CHVUTsCPQ0JBhXkIZEW9WlYHQ4I ZeHDHVxZUK6UzFbD5sxj1apiqG0T/Q1NZYf6v6ACeH76VTyRtobdo7CxWM0Ox/67aHNy WFzkycspwWkhu5yUT3kxEKgEBefVAb94iY/cDGo6ZDZosYWkYG65AKGAchq82sZsLVqj cwBA== X-Received: by 10.112.64.72 with SMTP id m8mr6434937lbs.41.1444398107121; Fri, 09 Oct 2015 06:41:47 -0700 (PDT) From: Mario Juric Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: RUTA variable assignment problem Message-Id: <1C21AED0-4FE9-45C5-8303-DE602C6CABB4@gmail.com> Date: Fri, 9 Oct 2015 15:41:43 +0200 To: user@uima.apache.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) Hi, I have a annotation type variable that I am assigning a value in a = statement block and then use that value in match rule to set the = attribute in a new annotation like this: Type myvar; BLOCK(ForEach) UniqueMatch{} { // Capturing unique scope with this =E2=80=9CSome (\\w+) Regex" -> 1 =3D MatchedRegexAnnotation; MatchedRegexAnnotation { -> ASSIGN(myvar, MatchedRegexAnnotation)}; } SomeOtherMatch{} { -> CREATE(Markup, =E2=80=9Cmyprop=E2=80=9D =3D myvar) }; The =E2=80=9Cmyprop=E2=80=9D attribute never gets a value even though = the MatchedRegexAnnotation is created. A completely analog = implementation appears to work flawlessly in another context but not in = the current. I am in the dark about this and my Ruta skills are sill infant so any = idea to what could be the problem is much appreciated. Cheers Mario=