Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 50392 invoked from network); 11 May 2010 15:27:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 May 2010 15:27:01 -0000 Received: (qmail 71522 invoked by uid 500); 11 May 2010 15:27:00 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 71458 invoked by uid 500); 11 May 2010 15:27:00 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 71442 invoked by uid 99); 11 May 2010 15:27:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 May 2010 15:27:00 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [88.84.128.168] (HELO samaflost.de) (88.84.128.168) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 May 2010 15:26:53 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by samaflost.de (Postfix) with ESMTP id 64CDC28985D2 for ; Tue, 11 May 2010 17:26:31 +0200 (CEST) Received: from samaflost.de ([127.0.0.1]) by localhost (v35516.1blu.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8vev4IdXJAiS for ; Tue, 11 May 2010 17:26:30 +0200 (CEST) Received: by samaflost.de (Postfix, from userid 1000) id 5B42F28985D3; Tue, 11 May 2010 17:26:26 +0200 (CEST) From: Stefan Bodewig To: user@ant.apache.org Subject: Re: xmlvalidate with xmlcatalog References: <87zl07xdou.fsf@v35516.1blu.de> X-Draft-From: ("nnfolder:mail.jakarta-ant-user" 67908) Date: Tue, 11 May 2010 17:26:25 +0200 In-Reply-To: (Susanne Wunsch's message of "Tue, 11 May 2010 07:57:43 +0200") Message-ID: <878w7qfoim.fsf@v35516.1blu.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org On 2010-05-11, Susanne Wunsch wrote: > Thanks for the link. Now the resolver is loaded, but the catalog > entities doesn't really fit. > How to use catalog entity with XML Schema? I must admit I've never tried that. Looking at the documentation of [1] - which really just is with sensible defaults for XSD validation - it says ,---- | Note that nested catalogs are still used for lookup of the URLs given | as the sources of schema documents, so you can still delegate lookup | to a catalog, you just need to list all schema URIs and their URL | equivalents. `---- > I tried 'namespace' and 'schemaLocation' as PublicId, but it didn't > work. Sounds as if the namespace's URI should be used as publicId. Stefan [1] http://ant.apache.org/manual/OptionalTasks/schemavalidate.html --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org