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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 19 September 2003 13:49
To: Andreas Schildbach
Cc: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]
       [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to