Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 23369 invoked from network); 3 Jun 2010 00:19:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Jun 2010 00:19:00 -0000 Received: (qmail 68298 invoked by uid 500); 3 Jun 2010 00:18:58 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 68190 invoked by uid 500); 3 Jun 2010 00:18:58 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 68182 invoked by uid 99); 3 Jun 2010 00:18:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 00:18:58 +0000 X-ASF-Spam-Status: No, hits=-0.3 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rahul.akolkar@gmail.com designates 209.85.212.43 as permitted sender) Received: from [209.85.212.43] (HELO mail-vw0-f43.google.com) (209.85.212.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 00:18:52 +0000 Received: by vws3 with SMTP id 3so4171076vws.30 for ; Wed, 02 Jun 2010 17:18:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=LHyQMUWUCEtNl8YmHFCjWh5H97weYXH8alcA7eZDkGU=; b=s5XI5oXkVUyzmK2tEdPgCvoklj3izhfsyokk6Ah9k8sVS7sHTo1MMXN6zQHwV2LiiT /XErWDdFc0E+U2tpBcSpw6jzMPUO2qcCFH394svuBI9maecUQrFj1euMRr9T8UWnoZ6z 2vAe7dvl0nlhjaaam+fMr22yBwhMjWWkJu4/k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=jBGFiCTQNokWSq/IfR5QamE+ROyTyY0j8hukoLUtlPYOtbCYXCJU1OZtCgmgHi965u ywyUkfUqGrpFb+8HfueR2u6oNY1mBQ8iRaUDexQ0ceQ2oFvDkblf1S4wEkdeKe1dMr45 3Yo8OwGwKGTZiTLOv9gmurnz1EKOdM5CB1QeU= MIME-Version: 1.0 Received: by 10.220.124.214 with SMTP id v22mr6189614vcr.241.1275524311515; Wed, 02 Jun 2010 17:18:31 -0700 (PDT) Received: by 10.220.161.198 with HTTP; Wed, 2 Jun 2010 17:18:31 -0700 (PDT) In-Reply-To: References: Date: Wed, 2 Jun 2010 20:18:31 -0400 Message-ID: Subject: Re: [scxml] src and parser invocation From: Rahul Akolkar To: Commons Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, Jun 2, 2010 at 8:08 PM, Fabrizio Morbini wrote= : > Hi, if we have the following case: > =A02 scxml files: a.scxml and b.scxml > =A0in a.scxml, 2 different nodes use the src attribute to source the > content from other 2 different nodes defined in b.scxml (using the > syntax src=3D"b.scxml#node_i"). > > is the file b.scxml completely parsed for every instance of src > attribute found while parsing a.scxml? Or is b.scxml parsed only once > and the result reused? > It will be parsed twice, completely (any time the src attribute is used, the entire document at the mentioned URL is parsed). Therefore, where possible, its better to separate content that gets sourced in, into smaller independent files. -Rahul > thanks, > fabrizio. > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org