You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Argyn Kuketayev <Ar...@plateau.com> on 2002/06/06 16:32:37 UTC

Cocoon and container's parsers

Some containers come with default parser which are not compatible with
Cocoon. So, Cocoon requires to change container's settings, e.g. remove
"old" parsers from classpath and replace them with xerces etc.

Would it be good to allow Cocoon use its own parser? So that in the
classpath we'll have the "old" parser, but Cocoon will use its own. This way
other application will be Ok, even if they need a specific parser in the
classpath which is incompatible with Cocoon.

thanks
Argyn

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: Cocoon and container's parsers

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Argyn Kuketayev [mailto:Argyn.Kuketayev@plateau.com]
> 
> Some containers come with default parser which are not compatible with
> Cocoon. So, Cocoon requires to change container's settings, e.g.
remove
> "old" parsers from classpath and replace them with xerces etc.
> 
> Would it be good to allow Cocoon use its own parser? So that in the
> classpath we'll have the "old" parser, but Cocoon will use its own.
This way
> other application will be Ok, even if they need a specific parser in
the
> classpath which is incompatible with Cocoon.

See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7175.

Summary:
  Applications should not override parser provided by the system.

And, you won't be able to override parser under JDK 1.4.


PS You can still try ParanoidClassLoader though - will work till JDK
1.4...


Vadim


> 
> thanks
> Argyn


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>