Re: Error in unix machiones with taglib

Scott Ferguson <[email protected]> Fri, 14 Jul 2006 14:08:43 -0700
Newsgroups gmane.text.xml.resin.user
Message-ID <[email protected]>
On Jul 13, 2006, at 10:40 AM, emerson cargnin wrote:

> ok, but there's any other workaround???
> because i think we have other applications using core that work quite
> well, never saw this error and can't find what's causing it to happen
> just now...

You might be able to turn JSP tag validation off.  It's the  
validation that's complaining of the bad xml.

-- Scott

>
> thanks very much scott
>
> emerson
>
> On 13/07/06, Scott Ferguson <[email protected]> wrote:
>>
>> On Jul 13, 2006, at 7:19 AM, emerson cargnin wrote:
>>
>> > Yes, I know it's old, but that's the version we use, have  
>> licenced and
>> > is on production.
>> >
>> > sergei: yes, I tried to use the different parsers, same error...
>> >
>> > Anyone from caucho???
>>
>> It's a old bug that has been fixed for a long time.
>>
>> -- Scott
>>
>> >
>> > Emerson
>> >
>> > On 13/07/06, Mattias Jiderhamn <[email protected]>
>> > wrote:
>> >> At 2006-07-13 13:57, you wrote:
>> >> >version is 2.1.4
>> >>
>> >> That is really old. You probably won't get any help before  
>> upgrading.
>> >>
>> >>
>> >> >there's no stack trace that's the message, as AFAIK this is  
>> from the
>> >> >compilation of the jsp page. The error.log has:
>> >> >
>> >> >[2006/07/13 12:56:12]
>> >> >/nationalsAndAgenciesPOC-1.1/jsp/filterAdverts.jsp:2:
>> >> >org.xml.sax.SAXParseException: The prefix "jsp" for element
>> >> "jsp:root"
>> >> >is not bound.
>> >> >
>> >> >And the second line is the core taglib reference.
>> >> >It doesn't happen in windows machines....
>> >> >
>> >> >PS: i'm getting mad with this :).
>> >> >
>> >> >Emerson Cargnin
>> >> >
>> >> >On 11/07/06, Scott Ferguson <[email protected]> wrote:
>> >> >>
>> >> >>On Jul 11, 2006, at 2:34 AM, emerson cargnin wrote:
>> >> >>
>> >> >> > hello? anyone there? :)
>> >> >>
>> >> >>Which version of Resin is this with?
>> >> >>
>> >> >>-- Scott
>> >> >>
>> >> >> >
>> >> >> > On 10/07/06, emerson cargnin <[email protected]>  
>> wrote:
>> >> >> >> I get error when trying to access the JSP page i put below:
>> >> >> >>
>> >> >> >> /nationalsAndAgenciesPOC-1.1/jsp/filterAdverts.jsp:2:
>> >> >> >> org.xml.sax.SAXParseException:
>> >> >> >> The prefix "jsp" for element "jsp:root" is not bound.
>> >> >> >>
>> >> >> >> The second line is the core taglib reference. No jsp:root
>> >> there....
>> >> >> >>
>> >> >> >>
>> >> >> >> JSP page:
>> >> >> >>
>> >> >> >> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
>> >> >> >> <%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
>> >> >> >> <html:html locale="true">
>> >> >> >> <head>
>> >> >> >>  <title>Filter Adverts</title>
>> >> >> >> </head>
>> >> >> >> <body bgcolor="white">
>> >> >> >> <jsp:include page="/header.do"/>
>> >> >> >> <%
>> >> >> >>   int totalAdverts =
>> >> >> >> ((Integer)request.getAttribute 
>> ("advertResultSize")).intValue();
>> >> >> >>   String userName = (String)request.getAttribute 
>> ("userName");
>> >> >> >> %>
>> >> >> >> <h2><%=userName%></h2>
>> >> >> >> <br/>
>> >> >> >> <% if (totalAdverts <= 0) {
>> >> >> >> %>
>> >> >> >> <h1> Your adverts </h1>
>> >> >> >> <br/>
>> >> >> >> <div style="color:#FF0000;">
>> >> >> >> There is currently no advertising for <b>Client Name</b>
>> >> >> >> <br>
>> >> >> >> To view historical information, go to Order history or
>> >> Accounts &
>> >> >> >> billing
>> >> >> >> </div>
>> >> >> >> <% } else {
>> >> >> >> %>
>> >> >> >> <%@ include file="/jsp/filterAdvertsCriteria.jsp"%>
>> >> >> >> <br>
>> >> >> >> <br>
>> >> >> >> <jsp:include page="/filterAdvertResults.do"/>
>> >> >> >> <% }
>> >> >> >> %>
>> >> >> >> <br>
>> >> >> >> <br>
>> >> >> >> <a href="/echannel/service/productlist.do?
>> >> servicePage=myAdverts">Back
>> >> >> >> to Yell products</a>
>> >> >> >> <jsp:include page="/footer.do"/>
>> >> >> >> </body>
>> >> >> >> </html:html>
>> >> >> >>
>> >> >> >
>> >>
>> >>
>> >>
>> >>
>> >
>>
>>
>>
>