You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Nugroho DS <nd...@nwa.iao.co.id> on 2005/07/25 09:43:01 UTC

SAXParseException when migrate to digester 1.7

Hi,

My Project is use Tapestry 3.0.3 and Jasper Reports 1.0 , The problem is Jasper 
1.0 depends on Digester 1.7. When I started my tapestry application, an 
exception was thrown like this:

-------------------------------------------------------------------------------------------

org.apache.tapestry.util.xml.DocumentParseException: Attribute "" bound to 
namespace "null" was already specified for element "application".

org.xml.sax.SAXParseException: Attribute "" bound to namespace "null" was 
already specified for element "application".
    columnNumber: 93
    lineNumber: 6
    systemId: 
file:/E:/Project/jlib/trunk/context/WEB-INF/Tapestry%20Demo.application

org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
org.apache.commons.digester.Digester.parse(Digester.java:1647)
org.apache.tapestry.parse.SpecificationParser.parse(SpecificationParser.java:642)
org.apache.tapestry.parse.SpecificationParser.parseApplicationSpecification(SpecificationParser.java:723)
org.apache.tapestry.ApplicationServlet.parseApplicationSpecification(ApplicationServlet.java:594)
org.apache.tapestry.ApplicationServlet.constructApplicationSpecification(ApplicationServlet.java:485)
org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:427)
org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:220)

-------------------------------------------------------------------------------------------

What is that error mean and what should I do to solve it?

Thanks,

Nugroho


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Tapestry + JasperReports 1.0 problems (was Re: SAXParseException when migrate to digester 1.7 )

Posted by Nugroho DS <nd...@nwa.iao.co.id>.
OK, Here is more detailed problem

My current environment
  Tapestry version : 3.0.3
  JDK version : 1.4.2_03
  Operating System: WindowsXP
  Application Server: Jetty-4.2.21

My problem is begin after I use JasperReports 1.0, I removed digester 1.5 from 
WEB-INF/lib and replace it with digester 1.7 required by JasperReports 1.0. The 
other part are remain  unchanged. Exception is thrown on ApplicationServlet 
initialization.

If I use digester 1.5 everything is fine except my page that use jasper won't work.

Here is the stack trace :
-------------------------------------------------------------------------------------------

org.apache.tapestry.util.xml.DocumentParseException: Attribute "" bound to 
namespace "null" was already specified for element "application".

org.xml.sax.SAXParseException: Attribute "" bound to namespace "null" was 
already specified for element "application".
    columnNumber: 93
    lineNumber: 6
    systemId: 
file:/E:/Project/jlib/trunk/context/WEB-INF/Tapestry%20Demo.application

org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
org.apache.commons.digester.Digester.parse(Digester.java:1647)
org.apache.tapestry.parse.SpecificationParser.parse(SpecificationParser.java:642)
org.apache.tapestry.parse.SpecificationParser.parseApplicationSpecification(SpecificationParser.java:723)
org.apache.tapestry.ApplicationServlet.parseApplicationSpecification(ApplicationServlet.java:594)
org.apache.tapestry.ApplicationServlet.constructApplicationSpecification(ApplicationServlet.java:485)
org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:427)
org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:220)

------------------------------------------------------------------------------------------- 


Does anyone have similiar problem with Tapestry and JasperReports integration?

Thanks,

Nugroho

Howard Lewis Ship wrote:
> You are not getting much response because you haven't provided us with
> much information.
> 
> http://jakarta.apache.org/tapestry/problems.html
> 
> On 7/25/05, Nugroho DS <nd...@nwa.iao.co.id> wrote:
> 
>>Hi,
>>
>>My Project is use Tapestry 3.0.3 and Jasper Reports 1.0 , The problem is Jasper
>>1.0 depends on Digester 1.7. When I started my tapestry application, an
>>exception was thrown like this:

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: SAXParseException when migrate to digester 1.7

Posted by Howard Lewis Ship <hl...@gmail.com>.
You are not getting much response because you haven't provided us with
much information.

http://jakarta.apache.org/tapestry/problems.html

On 7/25/05, Nugroho DS <nd...@nwa.iao.co.id> wrote:
> Hi,
> 
> My Project is use Tapestry 3.0.3 and Jasper Reports 1.0 , The problem is Jasper
> 1.0 depends on Digester 1.7. When I started my tapestry application, an
> exception was thrown like this:
> 
> -------------------------------------------------------------------------------------------
> 
> org.apache.tapestry.util.xml.DocumentParseException: Attribute "" bound to
> namespace "null" was already specified for element "application".
> 
> org.xml.sax.SAXParseException: Attribute "" bound to namespace "null" was
> already specified for element "application".
>     columnNumber: 93
>     lineNumber: 6
>     systemId:
> file:/E:/Project/jlib/trunk/context/WEB-INF/Tapestry%20Demo.application
> 
> org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> org.apache.commons.digester.Digester.parse(Digester.java:1647)
> org.apache.tapestry.parse.SpecificationParser.parse(SpecificationParser.java:642)
> org.apache.tapestry.parse.SpecificationParser.parseApplicationSpecification(SpecificationParser.java:723)
> org.apache.tapestry.ApplicationServlet.parseApplicationSpecification(ApplicationServlet.java:594)
> org.apache.tapestry.ApplicationServlet.constructApplicationSpecification(ApplicationServlet.java:485)
> org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:427)
> org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:220)
> 
> -------------------------------------------------------------------------------------------
> 
> What is that error mean and what should I do to solve it?
> 
> Thanks,
> 
> Nugroho
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
> 
> 


-- 
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org