At 22:29 -0400 15/8/2002, Vadim Gritsenko wrote:
>Jesse Reynolds wrote:
>
>>At 22:10 -0400 15/8/2002, Vadim Gritsenko wrote:
>>
>>>Jesse Reynolds wrote:
>>>
>>>>
>>>>And I've made the changes to JaxpParser.java as Vadim has 
>>>>suggested to get it to tell Xerces to "allow-java-encodings" but 
>>>>it just doesn't seem to work.
>>>>
>>>>Perhaps a bug in Xerces?

...

>>So, what should I try adding the allow-java-encodings code to now 
>>do you think? I can't see any other file called JaxpParser.java in 
>>the source, so does this mean I have to edit the source code of 
>>Avalon XML Parser or something?
>
>
>:)
>
>You've got this part right. But it's not Avalon XML Parser, it's 
>Avalon XML Parser Component which wraps JAXP parser into Component.
>
>Source is located at:
>
>http://cvs.apache.org/viewcvs.cgi/jakarta-avalon-excalibur/xmlbundle/src/java/org/apache/avalon/excalibur/xml/Attic/JaxpParser.java?rev=1.3&content-type=text/vnd.viewcvs-markup
>
>You don't have to compile all Excalibur, you can just patch and 
>compile this class (add some System.out.println to see what's going 
>on!) and put it under webapp/WEB-INF/classes/org/apache/..., and it 
>will be loaded from there before old class.

Hi Vadim

Okay, I've modified the JaxpParser.java and placed it at:

$TOMCAT_HOME/webapps/cocoon/WEB-INF/classes/org/apache/avalon/excalibur/xml/Attic/JaxpParser.java

and have compiled it so there is a JaxpParser.class in the same dir.

I've strewn it with copious System.out.println("debug..."); lines but 
none of them are reaching the catalina.out file. As a test I put a 
println into CocoonServlet.java and recompiled Cocoon and this debug 
line DOES appear in catalina.out, so I'm sure I know where I should 
be looking for the debug output...

It would appear that Cocoon is not finding my new JaxpParser.class file.

How can I be sure about this... and how can I rectify the situation 
so it is loading it before the main excalibur jars?

Thanks

Jesse



-- 
       Jesse Reynolds - Virtual Artists Pty Ltd - http://www.va.com.au

     Email: jesse (at) va.com.au            > Website Development
     Phone: +61 (0)8 8223 2288              > Web & Email Hosting
       Web: http://jesse.va.com.au          > Streaming Media Hosting
                                            > Telehousing / Colocation

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

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

Reply via email to