[prev in list] [next in list] [prev in thread] [next in thread] 

List:       taglibs-dev
Subject:    Re: Question about using attribute type in tld file
From:       "Martin Cooper" <martin.cooper () tumbleweed ! com>
Date:       2002-02-24 19:55:33
[Download RAW message or body]

It looks to me like either your TLD file is referencing the JSP 1.1 DTD, or
you're using a pre-4.0 version of Tomcat. The <type> element was introduced
in JSP 1.2.

--
Martin Cooper


----- Original Message -----
From: "Jeff Ling" <jeffreyling@hotmail.com>
To: <taglibs-dev@jakarta.apache.org>
Sent: Sunday, February 24, 2002 10:39 AM
Subject: Question about using attribute type in tld file


Hi,

I want to pass a variable of the type "java.util.Properties" to my
custom tag, so I defined the attribute as follows:
<tag>...

    <attribute>
      <name>list</name>
      <required>false</required>
      <rtexprvalue>true</rtexprvalue>
      <type>java.util.Properties</type>
    </attribute>


However, when I start Tomcat, it gives the following error message:

    PARSE error at line 179 column 13
    org.xml.sax.SAXParseException: Element type "type" must be declared.

Can anyone shed some light on this problem?

Thanks,
Jeff





--
To unsubscribe, e-mail:   <mailto:taglibs-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-dev-help@jakarta.apache.org>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic