Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 31120 invoked from network); 11 May 2010 06:28:39 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 May 2010 06:28:39 -0000 Received: (qmail 47329 invoked by uid 500); 11 May 2010 06:28:38 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 47290 invoked by uid 500); 11 May 2010 06:28:38 -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 27673 invoked by uid 99); 11 May 2010 05:58:12 -0000 X-ASF-Spam-Status: No, hits=-0.2 required=10.0 tests=AWL,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of susi@remi.heep.sax.de designates 213.240.137.12 as permitted sender) From: Susanne Wunsch To: user@ant.apache.org Subject: Re: xmlvalidate with xmlcatalog References: <87zl07xdou.fsf@v35516.1blu.de> Date: Tue, 11 May 2010 07:57:43 +0200 In-Reply-To: <87zl07xdou.fsf@v35516.1blu.de> (Stefan Bodewig's message of "Tue, 11 May 2010 06:30:41 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Stefan Bodewig writes: > On 2010-05-10, Susanne Wunsch wrote: > >> I try to use xmlcatalog within xmlvalidate, but ANT doesn't find a >> resolver. I looked into the manual, but didn't find any idea for a >> proper classpath in my environment. Any help would be appreciated. > > Ant's distribution doesn't contain the XML resolver itself, only the > bridge code needed to use one. In addition to ant-apache-resolver.jar > you also need the resolver library of Apache XML Commons > 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 tried 'namespace' and 'schemaLocation' as PublicId, but it didn't work. -- Debug messages ------------------------------------------------- Class org.apache.tools.ant.types.resolver.ApacheCatalogResolver loaded from parent loader (parentFirst) Apache resolver library found, xml-commons resolver will be used Using catalogpath '' ... resolveEntity: 'null': 'http://dublincore.org/schemas/xmls/qdc/2008/02/11/dc.xsd' No matching catalog entry found, parser will use: 'http://dublincore.org/schemas/xmls/qdc/2008/02/11/dc.xsd' -- ANT task ------------------------------------------------------- -------------------------------------------------------------------- read you ... Susanne --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org