From user-return-24560-apmail-commons-user-archive=commons.apache.org@commons.apache.org Tue Jun 01 18:27:26 2010 Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 62933 invoked from network); 1 Jun 2010 18:27:26 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Jun 2010 18:27:26 -0000 Received: (qmail 60939 invoked by uid 500); 1 Jun 2010 18:27:25 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 60707 invoked by uid 500); 1 Jun 2010 18:27:24 -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 60699 invoked by uid 99); 1 Jun 2010 18:27:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 18:27:24 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fmorbini@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; Tue, 01 Jun 2010 18:27:17 +0000 Received: by vws3 with SMTP id 3so2431342vws.30 for ; Tue, 01 Jun 2010 11:26:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=JbuFb+Kg7wzQ8CGSElfrzOWE5AccW3sDJ3FMHPbwNSQ=; b=ehLnfD6XiYt+sJhU6iSkFmy6oZ7oKUxpTCDFqHnmAUs9Jvg4C7ZxTXm/FFij6eHUbS uoNV0XVHWlgY+Q5zhqwqwicNpwPm7MZdAtLGsM6LfNaUXuq3Z1GzjwCgf3nMiaXxXH9x jWHWc/ZFFhwNdqRMBqLm+y74++WyhNQYDZJD0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=oZ/OgByocyjaIAI90OC1jwiuTPiZoYBW7I54XCF0Yc7A2wtgVzzCpfSLpcnD5Vpy/q tO7gjSHZWALesp+fbOZHEXnUjt7iSYhieqF1jD8ii1yQ893dfYrEUjR0DQevqPwoPmnP 0F9N02/fGLW0E+CU7aWiP53NcPW0kXm+opm1A= Received: by 10.224.60.20 with SMTP id n20mr2684914qah.279.1275416815643; Tue, 01 Jun 2010 11:26:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.151.78.13 with HTTP; Tue, 1 Jun 2010 11:26:34 -0700 (PDT) From: Fabrizio Morbini Date: Tue, 1 Jun 2010 11:26:34 -0700 Message-ID: Subject: [scxml] src and relative url To: Commons Users List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, i'm using the src attribute to include external content (i haven't yet spent time in figuring our how to use xinclude). I load the initial scxml file using a url like "file:C:/path/file.scxml". Inside file.scxml some node uses the src attribute set to (for example) src="include1.scxml#node34". When it gets parsed the urlResolver.resolvePath has as baseURL the complete "file:C:/path/file.scxml" and as ctxPath the string "include1.scxml", the merging results in an absolute url: "file:/include1.scxml" instead of the desired "file:C:/path/include1.scxml". is there a better alternative than modify the urlResolver (by removing the file.scxml part from the baseURL) to get the desired merged path when using the method resolvePath? thanks, fabrizio. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org