OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-j message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] Created: (SCAJ-14) Incorrect definition of the SCA JEE JSP Tag library


Incorrect definition of the SCA JEE JSP Tag library
---------------------------------------------------

                 Key: SCAJ-14
                 URL: http://tools.oasis-open.org/issues/browse/SCAJ-14
             Project: OASIS Service Component Architecture / J (SCA-J) TC
          Issue Type: Bug
          Components: Java EE Integration Specification 
    Affects Versions: 1.1
            Reporter: Anish Karmarkar


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&lt;/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>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]