You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Robin Green <gr...@hotmail.com> on 2000/10/04 19:06:53 UTC

Fwd: Re: use the property : parser.validate = true ?????

>"Gabi Brysch" <br...@inxnet.de> 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.