cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <>
Subject Re: use the property : parser.validate = true ?????
Date Wed, 04 Oct 2000 16:58:16 GMT
"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 : , can not

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 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

Share information about yourself, create your own public profile at

View raw message