A bizarre question about XML Parsing with JSP : XPATH - XALAN error

2008-11-21 Thread Ali Riza Saral
Hi Ms/Mr,

I am getting 
500 Internal Server Error
javax.servlet.jsp.JspTagException: 
org.apache.taglibs.standard.tag.common.xml.UnresolvableException: 
$header:ACCEPT-ENCODİNG
at 
org.apache.taglibs.standard.tag.common.xml.XPathUtil.fillVarStack(XPathUtil.java:784)
at 
org.apache.taglibs.standard.tag.common.xml.XPathUtil.selectNodes(XPathUtil.java:522)
at 
org.apache.taglibs.standard.tag.common.xml.ForEachTag.prepare(ForEachTag.java:50)
at 
javax.servlet.jsp.jstl.core.LoopTagSupport.doStartTag(LoopTagSupport.java:227)
at _books._jspService(_books.java:87)
[/books.jsp]
at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) 
].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at
 javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) 
].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) 
].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
 from::: 
?xml version=1.0 encoding = 'UTF-8'? 
!DOCTYPE books [
!ELEMENT books (book) 
!ELEMENT book (title,author,year,price)
    !ELEMENT title   (#PCDATA)
    !ELEMENT author  (#PCDATA)
]
books     
 book
 
 titlecobol/title 
 authorroy/author 
    /book 
    book 
 titlejava/title 
 authorherbert/author 
    /book 
    book 
 titlec++/title 
 authorrobert/author 
    /book 
    book 

 titlecoldfusion/title 
 authorallaire/author 
    /book 
    book 
 titlexml unleashed/title 
 authormorrison/author 
    /book 
    book 
 titlejrun/title 
 authorallaire/author 
    /book 
/books 

with: 
%@ page contentType=text/html; charset=UTF-8 % 
!DOCTYPE HTML PUBLIC
 -//W3C//DTD HTML 4.01 Transitional//EN 
http://www.w3.org/TR/html4/loose.dtd;
[EMAIL PROTECTED] taglib  prefix=c uri=http://java.sun.com/jsp/jstl/core; 
% 
[EMAIL PROTECTED] taglib  prefix=x uri=http://java.sun.com/jsp/jstl/xml   
%   
html 
meta http-equiv=Content-Type content=text/html; charset=UTF-8
body  
x:parse var=doc 
   c:import url=books.xml /
   % System.out.print(importt\n);%
/x:parse
 ---br 
 x:forEach var=n  
 
 select=$doc/books/book 
    % System.out.print(foreach\n);%
 x:out select=$n/title  /
  br  
 x:out select=$n/author  /  
  br 
   
 br  
 /x:forEach 
/body 
/html 

 
I have done everything within my mental health but I can not get
rid of this error.
 
Could you please help me in regards to this matter.
Kind regards.
Ali R+ SARAL


Tel : 0090-216-474 88 18
Addr: Barbaros Mah. Sedef Sk. Onur Sit. 13/13
Üsküdar / ISTANBUL
TURKEY
Blog: Large Systems and ATC (English  Turkish)
http://largesystems-atc.blogspot.com/ 



  

Kaye, Myriam is out of the office.

2008-11-21 Thread Myriam Kaye


I will be out of the office starting  2008-11-21 and will not return until
2008-11-24.

I am out of the office, but will respond to your message when I return.
Young Lee ([EMAIL PROTECTED]) is my primary backup for DB2 or Brio. Marco
Norbiato and Lana Mai are my secondary backups for DB2.  For SWGEU website
issues please contain Pat Senior or Stephen Retchford.  For any other
issues contact John Jenkins.  John and Young know how to contact me in an
emergency.