Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 92866 invoked from network); 10 Dec 2007 17:13:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Dec 2007 17:13:08 -0000 Received: (qmail 37556 invoked by uid 500); 10 Dec 2007 17:12:55 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 37480 invoked by uid 500); 10 Dec 2007 17:12:55 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 37471 invoked by uid 99); 10 Dec 2007 17:12:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Dec 2007 09:12:55 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Dec 2007 17:13:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0531F71424F for ; Mon, 10 Dec 2007 09:12:43 -0800 (PST) Message-ID: <13485947.1197306763011.JavaMail.jira@brutus> Date: Mon, 10 Dec 2007 09:12:43 -0800 (PST) From: "Rahul Akolkar (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (SCXML-62) Error on sourcing in content of states multiple times In-Reply-To: <7810469.1197305143076.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SCXML-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550125 ] Rahul Akolkar commented on SCXML-62: ------------------------------------ Couple of folks have posted this, as a current solution: http://wiki.apache.org/jakarta-commons/SCXML/Tutorials/Templating > Error on sourcing in content of states multiple times > ----------------------------------------------------- > > Key: SCXML-62 > URL: https://issues.apache.org/jira/browse/SCXML-62 > Project: Commons SCXML > Issue Type: Bug > Affects Versions: 0.6 > Reporter: Ingmar Kliche > > It is not possible to source in the content of a state (from an external document) multiple times into a scxml state machine (even though there are only transitions in the sourced state, i.e. there are no conflicts on state id's). > external-02-base.xml: > --------------------------------- > xmlns="http://www.w3.org/2005/07/scxml" > id="base" > initialstate="s1"> > > > > > > > > > > > external-02-src.xml: > ---------------------------- > xmlns="http://www.w3.org/2005/07/scxml" > id="statesrc_ext" > initialstate="sext"> > > > > > > > Testcase: > ------------------ > public void testExternal02() { > // (1) Get a SCXMLExecutor > exec = SCXMLTestHelper.getExecutor(external02); > } > Error: Initial state null or not a descendant of state with ID "s1.s11" -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.