atom feed17 messages in org.apache.tomcat.usersRe: Can't deploy Custom Tag Library o...
FromSent OnAttachments
Mark R. DiggoryOct 7, 2002 7:43 am 
Jean-Francois ArcandOct 7, 2002 7:49 am 
Mark R. DiggoryOct 7, 2002 8:11 am 
Mark R. DiggoryOct 7, 2002 11:44 am 
Craig R. McClanahanOct 7, 2002 11:48 am 
Mark R. DiggoryOct 7, 2002 12:18 pm 
Craig R. McClanahanOct 7, 2002 12:31 pm 
Mark R. DiggoryOct 7, 2002 12:37 pm 
Mark R. DiggoryOct 7, 2002 12:46 pm 
Craig R. McClanahanOct 7, 2002 2:06 pm 
Brandon CruzOct 7, 2002 2:39 pm 
Mark R. DiggoryOct 7, 2002 5:41 pm 
Mark R. DiggoryOct 7, 2002 5:52 pm 
Mark R. DiggoryOct 8, 2002 7:16 am.zip
Jan LueheOct 8, 2002 10:00 am 
Mark R. DiggoryOct 9, 2002 12:36 pm 
Mark R. DiggoryOct 9, 2002 12:51 pm 
Subject:Re: Can't deploy Custom Tag Library on Microsoth Windoz
From:Jean-Francois Arcand (jfar@apache.org)
Date:Oct 7, 2002 7:49:26 am
List:org.apache.tomcat.users

Which version of Xerces are you using? If it's 2.2, there is a bug associated with the problem:

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13282

-- Jeanfrancois

Mark R. Diggory wrote:

I keep getting these parsing exceptions when I try to load my custom taglibs (from JAR files) on Tomcat 4.0.3, 4.0.5, 4.1 on Windows 2000/XP.

Starting service Tomcat-Standalone Apache Tomcat/4.0.3 PARSE error at line 1 column -1 org.xml.sax.SAXParseException: Character conversion error: "Malformed UTF-8 char -- is an XML encoding declaration missing?" (line number may be too low). PARSE error at line 1 column -1 org.xml.sax.SAXParseException: Character conversion error: "Malformed UTF-8 char -- is an XML encoding declaration missing?" (line number may be too low). PARSE error at line 1 column -1 org.xml.sax.SAXParseException: Character conversion error: "Malformed UTF-8 char -- is an XML encoding declaration missing?" (line number may be too low). PARSE error at line 1 column -1 org.xml.sax.SAXParseException: Character conversion error: "Malformed UTF-8 char -- is an XML encoding declaration missing?" (line number may be too low). PARSE error at line 1 column -1 org.xml.sax.SAXParseException: Character conversion error: "Malformed UTF-8 char -- is an XML encoding declaration missing?" (line number may be too low). PARSE error at line 1 column -1 org.xml.sax.SAXParseException: Character conversion error: "Malformed UTF-8 char -- is an XML encoding declaration missing?" (line number may be too low). No tags No tags

I know this is coming from some parsing error when the tld is parsed. But even if I put the tld file into different encodings (ISO-8859-1). I still get the exceptions.

example tld header:

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"> <taglib> ...