> From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
> 
> > From: Morrison, John [mailto:[EMAIL PROTECTED]]
> >
> > > From: David Crossley [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, 23 January 2002 2:16 pm
> > > To: [EMAIL PROTECTED]
> > > Subject: build docs issue: XSL/Transform namespace changed
> > >
> > > The "build docs" is failing all of a sudden. Some recent
> > > CVS change has caused this. Could it perhaps be an
> > > upgraded Xerces jar?
> 
> No, this is the optimization I done recently in XSLTTransformer:
> 
>   reader.setContentHandler(templatesHandler);
>   reader.parse(stylesheet.getInputSource());
> 
> replaced with:
> 
>   stylesheet.toSAX(templatesHandler);
> 
> Don't understand the reason for this error: samples webapp works
> perfectly... If I won't understand by COD today, will have to revert
> this patch...

Whew!!! That's not my patch, that's Xerces: it can not validate the
stylesheets!!! Does somebody remember these lines:

  <parser class="org.apache.cocoon.components.parser.JaxpParser">
   <parameter name="validate" value="true"/>
  </parser>

"validate" was set to true, but stylesheets were using OWN instance of
parser thus running without validation. With my patch, everything uses
one parser, validating one, and Xerces failing to validate stylesheets.

Can somebody pickup (&resolve if possible) this issue from here?


Vadim



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to