Return-Path: Delivered-To: apmail-incubator-pivot-dev-archive@minotaur.apache.org Received: (qmail 72708 invoked from network); 14 Jul 2009 12:48:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Jul 2009 12:48:27 -0000 Received: (qmail 46787 invoked by uid 500); 14 Jul 2009 12:48:37 -0000 Delivered-To: apmail-incubator-pivot-dev-archive@incubator.apache.org Received: (qmail 46764 invoked by uid 500); 14 Jul 2009 12:48:37 -0000 Mailing-List: contact pivot-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pivot-dev@incubator.apache.org Delivered-To: mailing list pivot-dev@incubator.apache.org Received: (qmail 46754 invoked by uid 99); 14 Jul 2009 12:48:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 12:48:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 12:48:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D7813234C004 for ; Tue, 14 Jul 2009 05:48:14 -0700 (PDT) Message-ID: <1169117717.1247575694868.JavaMail.jira@brutus> Date: Tue, 14 Jul 2009 05:48:14 -0700 (PDT) From: "Greg Brown (JIRA)" To: pivot-dev@incubator.apache.org Subject: [jira] Resolved: (PIVOT-79) wtk:include without specifying namespace results in wtk:id values being lost In-Reply-To: <1165022548.1239456075348.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/PIVOT-79?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Greg Brown resolved PIVOT-79. ----------------------------- Resolution: Fixed > wtk:include without specifying namespace results in wtk:id values being lost > ---------------------------------------------------------------------------- > > Key: PIVOT-79 > URL: https://issues.apache.org/jira/browse/PIVOT-79 > Project: Pivot > Issue Type: Bug > Components: wtk-wtkx > Reporter: Noel Grandin > Assignee: Greg Brown > Priority: Minor > Fix For: 1.3 > > > just got bitten by an unexpected problem. I had 2 files like this: > first file: > > > > other.wtkx: > > > > Now, when I load this, the identifier "myid" is not visible anywhere. > This is because I failed to specify a namespace for the included file. > This took me quite a while to work out, because my mental model of > include says that the default is that the included file is fully > visible, which should mean that the identifiers are visible from > getObjectByName(). > I suggest that either > (a) if I include a file without a namespace, and I specify > identifiers, an error should be thrown > or > (b) if I include a file without a namespace, identifiers should be > visible from getObjectByName() -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.