← Prev in month ← Prev in thread
Next in thread → Next in month →

ISSUE 83: Incorrect definition of the SCA JEE JSP Tag library

From
David Booz <>
Date
2008-10-10T14:46:37+00:00
ID
Thread
ISSUE 83: Incorrect definition of the SCA JEE JSP Tag library
http://www.osoa.org/jira/browse/JAVA-83

Dave Booz

STSM, BPM and SCA Architecture

Co-Chair OASIS SCA-Policy TC and SCA-J TC

"Distributed objects first, then world hunger"

Poughkeepsie, NY (845)-435-6093  or  8-295-6093

e-mail:

Mike Edwards ---10/10/2008 10:08:47 AM---Raiser:         Luciano Resende via Mike Edwards.... Target:         SCA Java EE Specification - sca

From:

Mike Edwards <>

To:

"OASIS Java" <>

Date:

10/10/2008 10:08 AM

Subject:

[sca-j] [NEW ISSUE] Incorrect definition of the SCA JEE JSP Tag library

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:  

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
← Prev in month ← Prev in thread
Next in thread → Next in month →