Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 73670 invoked from network); 23 Jun 2005 19:08:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Jun 2005 19:08:53 -0000 Received: (qmail 92926 invoked by uid 500); 23 Jun 2005 19:08:34 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 92852 invoked by uid 500); 23 Jun 2005 19:08:34 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 92763 invoked by uid 99); 23 Jun 2005 19:08:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2005 12:08:34 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of andy.kriger@gmail.com designates 64.233.162.202 as permitted sender) Received: from [64.233.162.202] (HELO zproxy.gmail.com) (64.233.162.202) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2005 12:08:34 -0700 Received: by zproxy.gmail.com with SMTP id 12so837122nzp for ; Thu, 23 Jun 2005 12:08:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=GDNBBxJqAnzOMLRGU0xVOwsrmZVOZ/nHlKEbQVCKgxU4k1uRZdS3GnW2dmj9Xmu35pJnJY+K/foxBBPZFroejQod7QfUaWN5vIMdiAaf1r8iJX/84FtOpWTiOyjdZyJCGBQAqVfODNe8eD0sSrBjCFVjjv+3P4wBjF0PS0gBXzI= Received: by 10.36.222.77 with SMTP id u77mr1743538nzg; Thu, 23 Jun 2005 12:08:30 -0700 (PDT) Received: by 10.36.141.13 with HTTP; Thu, 23 Jun 2005 12:08:30 -0700 (PDT) Message-ID: <207fa8f05062312083d9de6a4@mail.gmail.com> Date: Thu, 23 Jun 2005 15:08:30 -0400 From: Andy Kriger Reply-To: Andy Kriger To: tomcat-user@jakarta.apache.org Subject: help needed with UTFDataFormatException Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_5864_10675245.1119553710926" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_5864_10675245.1119553710926 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello. I have a Tomcat 5.5.8 based web application running an Axis 1.2.0 driven web service. When I run a certain chunk of code doing XSLT transformations, the code fails with "There was an error while transforming document - java.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence." I can run this code outside of Tomcat without any problem (using command-line JUnit tests). However, if I run the code from a JSP page or using my web service, it fails with that error. Xerces and Xalan are definitely the same version (System.out with their respective Version objects shows the same info). I am attaching the XSLT file in question in case anyone can see something I can't. Has anyone seen this problem? I'm not finding much useful information searching the archives (of Tomcat, Axis or googling the web/newsgroups). thx andy ------=_Part_5864_10675245.1119553710926 Content-Type: text/xml; name="redline.xsl" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="redline.xsl" 77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHhzbDpzdHlsZXNoZWV0 IHZlcnNpb249IjEuMCIgeG1sbnM6eHNsPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L1hTTC9UcmFu c2Zvcm0iPgoKPHhzbDpvdXRwdXQgbWV0aG9kPSJodG1sIiBpbmRlbnQ9InllcyIgZW5jb2Rpbmc9 IlVTLUFTQ0lJIi8+CgoKPHhzbDp0ZW1wbGF0ZSBtYXRjaD0iL2NvbnRlbnQiPgo8aHRtbD48Ym9k eT4KCTx4c2w6YXBwbHktdGVtcGxhdGVzLz4KPC9ib2R5PjwvaHRtbD4KPC94c2w6dGVtcGxhdGU+ Cgo8eHNsOnRlbXBsYXRlIG1hdGNoPSJAKnxub2RlKCkiPgoJPHhzbDpjaG9vc2U+CgkJPHhzbDp3 aGVuIHRlc3Q9IkByZWRsaW5lZD0neWVzJyI+CgkJCTxSPgoJCQkJPHhzbDpjb3B5PgoJCQkJCTx4 c2w6Y29weS1vZiBzZWxlY3Q9ImF0dHJpYnV0ZTo6bm9kZSgpW25vdChuYW1lKCk9J3JlZGxpbmVk JyldIi8+CgkJCQkJPHhzbDphcHBseS10ZW1wbGF0ZXMvPgoJCQkJPC94c2w6Y29weT4KCQkJCTx4 c2w6aWYgdGVzdD0ibmFtZSguKT0ndGQnIG9yIG5hbWUoLik9J3AnIG9yIG5hbWUoLik9J3RyJyBv ciBuYW1lKC4pPSd0YWJsZScgb3IgbmFtZSguKT0naW1nJyI+PHhzbDp0ZXh0PiYjMTA7PC94c2w6 dGV4dD48L3hzbDppZj4KCQkJPC9SPgoJCTwveHNsOndoZW4+CgkJPHhzbDpvdGhlcndpc2U+CgkJ CTx4c2w6Y29weT4KCQkJCTx4c2w6Y29weS1vZiBzZWxlY3Q9IkAqIi8+CgkJCQk8eHNsOmFwcGx5 LXRlbXBsYXRlcy8+CgkJCTwveHNsOmNvcHk+CgkJCTx4c2w6aWYgdGVzdD0ibmFtZSguKT0ndGQn IG9yIG5hbWUoLik9J3AnIG9yIG5hbWUoLik9J3RyJyBvciBuYW1lKC4pPSd0YWJsZSciPjx4c2w6 dGV4dD4mIzEwOzwveHNsOnRleHQ+PC94c2w6aWY+CgkJPC94c2w6b3RoZXJ3aXNlPgoJPC94c2w6 Y2hvb3NlPgo8L3hzbDp0ZW1wbGF0ZT4KCjwveHNsOnN0eWxlc2hlZXQ+Cg== ------=_Part_5864_10675245.1119553710926 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org ------=_Part_5864_10675245.1119553710926--