sca-j message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: [NEW ISSUE] Incorrect definition of the SCA JEE JSP Tag library
- From: Mike Edwards <mike_edwards@uk.ibm.com>
- To: "OASIS Java" <sca-j@lists.oasis-open.org>
- Date: Fri, 10 Oct 2008 15:00:42 +0100
Raiser:
Luciano Resende via Mike Edwards....
Target:
SCA Java EE Specification - sca-jee-1[1].1-spec-wd03.doc
Description: Lines
745 - 780 of the spec define the SCA taglib for JSPs. This definition
is incorrect as it does not conform to the
definition of the XSD for JSP taglibs.
What is incorrect is that the <attribute/>
elements for both "name" and "type" attributes are
both missing a required
<rtexprvalue/>
child element, so that the taglib fails to validate against the taglib
XSD ("http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd")
Proposal: Modify
the taglib definition to include the <rtexprvalue/> elements as follows:
<?xml version = '1.0' encoding =
'ISO-8859-1'?>
<!DOCTYPE taglib PUBLIC "-//Sun
Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd">
<taglib version="2.1">
<tlib-version>1.0</tlib-version>
<short-name>SCA-JSP</short-name>
<uri>http://www.osoa.org/sca/sca_jsp.tld</uri>
<description>A tag library
for integrating sca components with jsp
</description>
<tag>
<name>reference</name>
<tag-class><!—To
be provided by the SCA runtime implementation--></tag-class>
<tei-class><!—To
be provided by the SCA runtime implementation--></tei-class>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<attribute>
<name>type</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<body-content>empty</body-content>
</tag>
</taglib>
Yours, Mike.
Strategist - Emerging Technologies, SCA & SDO.
Co Chair OASIS SCA Assembly TC.
IBM Hursley Park, Mail Point 146, Winchester, SO21 2JN, Great Britain.
Phone & FAX: +44-1962-818014 Mobile: +44-7802-467431
Email: mike_edwards@uk.ibm.com
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]