cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mor...@alfa21.com (Roberto Moreda)
Subject Re: XSP class package name problem
Date Wed, 12 Apr 2000 15:10:19 GMT
Ahem... :)

The little problem arises when the path of the XSP contains a dot (by
example: /var/www/paquito.com/de/ines/)

In XSPJavaProcessor.java the method packageName() uses
normalizedBaseName(String) with a string that only contains a path (the future
package name), NOT a filename, and "cuts" the string at the first dot. 

Here you are a little patch for cocoon-1.7.2 which solves the problem... 
... I think ;)

    Rober
 
-- 
Roberto Moreda Alvarez
Alfa21 Outsourcing S.L.

Mime
View raw message