TCWeb使用的tablib标准

  • 今天明确发现TCWeb使用的tablib是遵循http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd标准的。
  • 这里引一下全文
  • <!--
    Copyright 1999 Sun Microsystems, Inc. 901 San Antonio Road,
    Palo Alto, CA  94303, U.S.A.  All rights reserved.
     
    This product or document is protected by copyright and distributed
    under licenses restricting its use, copying, distribution, and
    decompilation.  No part of this product or documentation may be
    reproduced in any form by any means without prior written authorization
    of Sun and its licensors, if any. 

    Third party software, including font technology, is copyrighted and
    licensed from Sun suppliers.

    Sun, Sun Microsystems, the Sun Logo, Solaris, Java, JavaServer Pages, Java
    Naming and Directory Interface, JDBC, JDK, JavaMail and Enterprise JavaBeans,
    are trademarks or registered trademarks of Sun Microsystems, Inc in the U.S.
    and other countries.

    All SPARC trademarks are used under license and are trademarks
    or registered trademarks of SPARC International, Inc.
    in the U.S. and other countries. Products bearing SPARC
    trademarks are based upon an architecture developed by Sun Microsystems, Inc.

    PostScript is a registered trademark of Adobe Systems, Inc.

     
    Federal Acquisitions: Commercial Software - Government Users Subject to
    Standard License Terms and Conditions.


     
    DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED
    CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY
    IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
    PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT
    TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY
    INVALID.

    _________________________________________________________________________
    Copyright 1999 Sun Microsystems, Inc.,
    901 San Antonio Road, Palo Alto, CA  94303, Etats-Unis.
    Tous droits re'serve's.
     

    Ce produit ou document est prote'ge' par un copyright et distribue' avec
    des licences qui en restreignent l'utilisation, la copie, la distribution,
    et la de'compilation.  Aucune partie de ce produit ou de sa documentation
    associe'e ne peut e^tre reproduite sous aucune forme, par quelque moyen
    que ce soit, sans l'autorisation pre'alable et e'crite de Sun et de ses
    bailleurs de licence, s'il y en a. 

    Le logiciel de'tenu par des tiers, et qui comprend la technologie
    relative aux polices de caracte`res, est prote'ge' par un copyright
    et licencie' par des fournisseurs de Sun.
     
    Sun, Sun Microsystems, le logo Sun, Solaris, Java, JavaServer Pages, Java
    Naming and Directory Interface, JDBC, JDK, JavaMail, et Enterprise JavaBeans, 
    sont des marques de fabrique ou des marques de'pose'es de Sun
    Microsystems, Inc. aux Etats-Unis et dans d'autres pays.
     
    Toutes les marques SPARC sont utilise'es sous licence et sont
    des marques de fabrique ou des marques de'pose'es de SPARC
    International, Inc. aux Etats-Unis et  dans
    d'autres pays. Les produits portant les marques SPARC sont
    base's sur une architecture de'veloppe'e par Sun Microsystems, Inc. 

    Postcript est une marque enregistre'e d'Adobe Systems Inc.
     
    LA DOCUMENTATION EST FOURNIE "EN L'ETAT" ET TOUTES AUTRES CONDITIONS,
    DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT EXCLUES,
    DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS NOTAMMENT
    TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A L'APTITUDE
    A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE CONTREFACON.
    -->


    <!--

       This is the DTD defining the JavaServer Pages 1.1 Tag Library
       descriptor (.tld) (XML) file format/syntax.

       A Tag Library is a JAR file containing a valid instance of a Tag Library
       Descriptor (taglib.tld) file in the META-INF subdirectory, along with the
       appropriate implementing classes, and other resources required to
       implement the tags defined therein.

      -->

    <!--
    The taglib tag is the document root, it defines:

    tlibversion the version of the tag library implementation
    jspversion the version of JSP the tag library depends upon

    shortname a simple default short name that could be used by
      a JSP authoring tool to create names with a mnemonic
      value; for example, the it may be used as the prefered
      prefix value in taglib directives
    uri  a uri uniquely identifying this taglib
    info  a simple string describing the "use" of this taglib,
      should be user discernable
    -->

    <!ELEMENT taglib (tlibversion, jspversion?, shortname, uri?, info?, tag+) >
    <!ATTLIST taglib id ID #IMPLIED
       xmlns CDATA #FIXED
      "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd"
    >

    <!--
    Describes this version (number) of the taglibrary (dewey decimal)

    #PCDATA ::= [0-9]*{ "."[0-9] }0..3
    -->

    <!ELEMENT tlibversion (#PCDATA) >

    <!--
    Describes the JSP version (number) this taglibrary requires in
    order to function (dewey decimal)

    The default is 1.1

    #PCDATA ::= [0-9]*{ "."[0-9] }0..3
    -->

    <!ELEMENT jspversion  (#PCDATA) >

    <!--
    Defines a short (default) shortname to be used for tags and
    variable names used/created by this tag library.  Do not use
    white space, and do not start with digits or underscore.

    #PCDATA ::= NMTOKEN
    -->

    <!ELEMENT shortname      (#PCDATA) >

    <!--
    Defines a public URI that uniquely identifies this version of
    the taglibrary Leave it empty if it does not apply.
    -->

    <!ELEMENT uri  (#PCDATA) >

    <!--
    Defines an arbitrary text string descirbing the tag library
    -->

    <!ELEMENT info (#PCDATA) >

    <!--
    The tag defines a unique tag in this tag library, defining:

    - the unique tag/element name
    - the subclass of javax.servlet.jsp.tagext.Tag implementation class
    - an optional subclass of javax.servlet.jsp.tagext.TagExtraInfo
    - the body content type (hint)
    - optional tag-specific information
    - any attributes
    -->

    <!ELEMENT tag (name, tagclass, teiclass?, bodycontent?, info?, attribute*) >

    <!--
    Defines the subclass of javax.serlvet.jsp.tagext.Tag that implements
    the request time semantics for this tag. (required)

    #PCDATA ::= fully qualified Java class name
    -->

    <!ELEMENT tagclass (#PCDATA) >

    <!--
    Defines the subclass of javax.servlet.jsp.tagext.TagExtraInfo for
    this tag. (optional)

    If this is not given, the class is not consulted at translation time.

    #PCDATA ::= fully qualified Java class name
    -->

    <!ELEMENT teiclass (#PCDATA) >

    <!--
    Provides a hint as to the content of the body of this tag. Primarily
    intended for use by page composition tools.

    There are currently three values specified:

    tagdependent The body of the tag is interpreted by the tag
      implementation itself, and is most likely in a
      different "langage", e.g embedded SQL statements.

    JSP  The body of the tag contains nested JSP syntax

    empty  The body must be empty

    The default (if not defined) is JSP

    #PCDATA ::=  tagdependent | JSP | empty

    -->

    <!ELEMENT bodycontent (#PCDATA) >

    <!--
    The attribute tag defines an attribute for the nesting tag

    An attribute definition is composed of:

    - the attributes name (required)
    - if the attribute is required or optional (optional)
    - if the attributes value may be dynamically calculated at runtime
      by a scriptlet expression (optional)

    -->

    <!ELEMENT attribute (name, required? , rtexprvalue?) >

    <!--
    Defines the canonical name of a tag or attribute being defined

    #PCDATA ::= NMTOKEN
    -->

    <!ELEMENT name (#PCDATA) >

    <!--
    Defines if the nesting attribute is required or optional.

    #PCDATA ::= true | false | yes | no

    If not present then the default is "false", i.e the attribute
    is optional.
    -->

    <!ELEMENT required    (#PCDATA) >

    <!--
    Defines if the nesting attribute can have scriptlet expressions as
    a value, i.e the value of the attribute may be dynamically calculated
    at request time, as opposed to a static value determined at translation
    time.

    #PCDATA ::= true | false | yes | no

    If not present then the default is "false", i.e the attribute
    has a static value
    -->

    <!ELEMENT rtexprvalue (#PCDATA) >

    <!ATTLIST tlibversion id ID #IMPLIED>
    <!ATTLIST jspversion id ID #IMPLIED>
    <!ATTLIST shortname id ID #IMPLIED>
    <!ATTLIST uri id ID #IMPLIED>
    <!ATTLIST info id ID #IMPLIED>
    <!ATTLIST tag id ID #IMPLIED>
    <!ATTLIST tagclass id ID #IMPLIED>
    <!ATTLIST teiclass id ID #IMPLIED>
    <!ATTLIST bodycontent id ID #IMPLIED>
    <!ATTLIST attribute id ID #IMPLIED>
    <!ATTLIST name id ID #IMPLIED>
    <!ATTLIST required id ID #IMPLIED>
    <!ATTLIST rtexprvalue id ID #IMPLIED>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值