I continuously update magnolia from svn in the latest two weeks and try to
build without errors but I need some help to do that. I checkout svn to
version 3.7-SNAPSHOT and create NetBeans project. In project properties
window I set source format to 1.6 and encoding UTF-8. But when I build
project I get error in output console like this:
ERROR org.apache.commons.digester.Digester Digester.java(error:1538)
23.09.2008 20:29:14 Parse Error at line 6 column 10: The content of element
type "module" must match
"(name,(displayName|display-name)?,description?,class?,versionHandler?,version,properties?,dependencies?,servlets?,repositories?)".
org.xml.sax.SAXParseException: The content of element type "module" must
match
"(name,(displayName|display-name)?,description?,class?,versionHandler?,version,properties?,dependencies?,servlets?,repositories?)".
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
................
ERROR org.apache.commons.digester.Digester Digester.java(error:1538)
23.09.2008 20:29:14 Parse Error at line 6 column 10: The content of element
type "module" must match
"(name,(displayName|display-name)?,description?,class?,versionHandler?,version,properties?,dependencies?,servlets?,repositories?)".
org.xml.sax.SAXParseException: The content of element type "module" must
match
"(name,(displayName|display-name)?,description?,class?,versionHandler?,version,properties?,dependencies?,servlets?,repositories?)".
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
................
Results :
Building jar:
E:\NBWorkspace\magnolia\magnolia-core\target\magnolia-core-3.7-SNAPSHOT.jar
Building jar:
E:\NBWorkspace\magnolia\magnolia-core\target\magnolia-core-3.7-SNAPSHOT-tests.jar
Preparing checkstyle:check
[WARNING] File encoding has not been set, using platform encoding Cp1252,
i.e. build is platform dependent!
Starting audit...
Audit done.
There is a message about file encoding but I think I set source to UTF-8
encoding. Can some one tell me how can I resolve this and build without
errors? I use Windows XP, NetBeans 6.1
Atanasko Boris Mitrev
Magnolia - User mailing list wrote:
>
> That's a bug in Tomcat 6.0.18. Go back to Tomcat 6.0.16.
>
> Cheers
> Philippe
>
> bubalecka wrote:
>> Hello,
>>
>> I download Magniolia 3.6.2 from svn and build. Build process pass but
>> with
>> errors in tests error in console. When I start sample application and
>> click
>> on Mail Form I receive error:
>>
>> org.apache.jasper.JasperException:
>> /templates/samples/templates/sample-form.jsp(11,42)
>> "${!empty(param.sendmail)}" contains invalid expression(s):
>> javax.el.ELException: Function ':empty' not found
>>
>> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
>>
>> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
>>
>> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)
>>
>> org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1151)
>> .............
>>
>> This is a part of error log...
>>
>> On click on Search error shows up :
>>
>> org.apache.jasper.JasperException:
>> /templates/samples/templates/sample-search.jsp(23,45)
>> "${!empty(param.query)}" contains invalid expression(s):
>> javax.el.ELException: Function ':empty' not found
>>
>> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
>>
>> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
>>
>> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)
>>
>> org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1151)
>>
>> org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:821)
>>
>>
>>
>> Did some one else have similar problem with this version? I also checkout
>> version 3.6.1 but that could not be build without -Dmaven.test.skip=true
>> switch, there are problems with tests.
>>
>>
>> Atanasko Boris Mitrev
>
>
> ----------------------------------------------------------------
> for list details see
> http://documentation.magnolia.info/
> ----------------------------------------------------------------
>
>
--
View this message in context:
http://www.nabble.com/Magnolia-3.6.2-errors-tp19485145p19634433.html
Sent from the Magnolia - User mailing list archive at Nabble.com.
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------