tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Velasco <felix.vela...@kewill.com>
Subject RE: <c:url> generates incorrect encoding?
Date Fri, 19 Sep 2003 11:55:58 GMT
the problem is the space in the xml header
<? xml version="1.0" encoding="ISO-8859-1" ?>
  ^

shuld be
<?xml version="1.0" encoding="ISO-8859-1" ?>

-----Original Message-----
From: ananthr@csa.iisc.ernet.in [mailto:ananthr@csa.iisc.ernet.in]
Sent: 19 September 2003 13:49
To: Andreas Schildbach
Cc: taglibs-user@jakarta.apache.org
Subject: Re: <c:url> generates incorrect encoding?


Hello


Iam using a tag library descriptor which is as  follows:


<? xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
        PUBLIC "-//Sun Microsystems, Inc.//
        DTD JSP Tag Library 1.1//EN"
        "http://java.sun.com/j2ee/dtds/
        web-jsptaglibrary_1_1.dtd">
 

<!-- a tag library descriptor -->
 

<taglib>
   <tlibversion>1.0</tlibversion>
   <jspversion>1.1</jspversion>
   <shortname>first</shortname>
   <uri></uri>
   <info>A simple tab library for the
   examples</info>
 

  <tag>
    <name>hello</name>
    <tagclass>tags.HelloTag</tagclass>
    <bodycontent>empty</bodycontent>
    <info>Say Hi</info>
  </tag>
</taglib>


Iam getting the error:

XML parsing error on file /WEB-INF/jsp/mytaglib.tld: (line 4, col 6): The 
processing instruction target matching "[xX][mM][lL]" is not allowed.


Please give me solutions for this.

with regards

 
--------------------------------
Ananth R
Project Associate
Electronic Enterprise Laboratory
Computer Science and Automation
Indian Institute Of Science
Bangalore

---------------------------------
Phone:(off) 2932368-111
      (cdma)9844140340 

e-mail:ananthr@csa.iisc.ernet.in
       ananth_vadholasa@rediffmail.com


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

Mime
View raw message