Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 36242 invoked from network); 4 Oct 2000 15:58:42 -0000 Received: from f128.law4.hotmail.com (HELO hotmail.com) (216.33.149.128) by locus.apache.org with SMTP; 4 Oct 2000 15:58:42 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 4 Oct 2000 08:58:16 -0700 Received: from 148.88.17.28 by lw4fd.law4.hotmail.msn.com with HTTP; Wed, 04 Oct 2000 15:58:16 GMT X-Originating-IP: [148.88.17.28] From: "Robin Green" To: cocoon-dev@xml.apache.org Subject: Re: use the property : parser.validate = true ????? Date: Wed, 04 Oct 2000 16:58:16 BST Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 04 Oct 2000 15:58:16.0082 (UTC) FILETIME=[E82FDF20:01C02E1B] X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N "Gabi Brysch" wrote: >if i try to use the parser in the modus validate = true, > >i get the following exception : > >java.lang.RuntimeException: org.xml.sax.SAXParseException: General Schema >Error: Grammar with uri : http://www.w3.org/1999/XSL/Transform , can not >found. This is probably because the new Xerces included in 1.8 by default turns on schema validation. You need to hack the org.apache.cocoon.parser.XercesParser to turn off schema validation (see Xerces-J Features on xml.apache.org). I will make this configurable in the next release. Cocoon 2 should have a much better configuration mechanism - being based on Avalon, Cocoon 2 should not need to know all the specifics about the configurations of its subcomponents, so whenever Xerces or whoever declares a new feature, we won't need to explicitly code for it in cocoon. _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.