cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gustavo N. Fernandes" <gustavona...@gmail.com>
Subject RES: Failed to run webapp
Date Sat, 23 Jun 2007 02:23:30 GMT
Forgot to mention the error:

--------------------------------------------------------------------------
Caused by: org.apache.avalon.framework.configuration.ConfigurationException:
Cannot load 'jar:file[...]/cocoon-core-2.2.0-RC2
SNAPSHOT.jar!/org/apache/cocoon/cocoon.roles
[...]
Caused by: org.gjt.xpp.XmlPullParserException: <![DOCTYPE declarations not
supported at line 32 and column 3 seen "...TA #REQUIRED\r\n
class CDATA #REQUIRED\r\n>\r\n]"... (parser state UNKNONW_EVENT (-1))
--------------------------------------------------------------------------


The following patch allows to runs the webapp:


Index: core/cocoon-core/src/main/resources/org/apache/cocoon/cocoon.roles
===================================================================
--- core/cocoon-core/src/main/resources/org/apache/cocoon/cocoon.roles
(revision 549992)
+++ core/cocoon-core/src/main/resources/org/apache/cocoon/cocoon.roles
(working copy)
@@ -23,7 +23,8 @@
 <!ATTLIST role-list cocoon-version CDATA #IMPLIED>
 <!ATTLIST role name CDATA #REQUIRED
-               shorthand CDATA #REQUIRED
+               shorthand CDATA #IMPLIED
+               model CDATA #IMPLIED
                default-class CDATA #IMPLIED>
 <!ATTLIST hint shorthand CDATA #REQUIRED


 
> It seems core/cocoon-
> core/src/main/resources/org/apache/cocoon/cocoon.roles is not valid
> according to the DTD that is declared in the header.
> This gives an error when trying to run cocoon webapp:
> 
 
[]s
Gustavo

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.472 / Virus Database: 269.9.4/860 - Release Date: 21/6/2007
17:53
 


Mime
View raw message