You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by cm...@apache.org on 2003/05/13 22:40:32 UTC

cvs commit: jakarta-cactus/integration/ant/src/confs application_1_2.dtd application_1_3.dtd

cmlenz      2003/05/13 13:40:32

  Added:       integration/ant/src/confs application_1_2.dtd
                        application_1_3.dtd
  Log:
  In preparation for entity resolving for application.xml descriptors: add the DTDS for J2EE 1.2 and J2EE 1.3
  
  Revision  Changes    Path
  1.1                  jakarta-cactus/integration/ant/src/confs/application_1_2.dtd
  
  Index: application_1_2.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.
  -->
  
  <!--
  The alt-dd element specifies an optional URI to the post-assembly version of the
  deployment descriptor file for a particular J2EE module. The URI must specify
  the full pathname of the deployment descriptor file relative to the
  application's root directory. If alt-dd is not specified, the deployer must read
  the deployment descriptor from the default location and file name required by
  the respective component specification.
  -->
  <!ELEMENT alt-dd (#PCDATA)>
  
  <!--
  The application element is the root element of a J2EE application deployment
  descriptor.
  -->
  <!ELEMENT application (icon?, display-name, description?, module+,
  security-role*)>
  
  <!--
  The context-root element specifies the context root of a web application
  -->
  <!ELEMENT context-root (#PCDATA)>
  
  <!--
  The description element provides a human readable description of the
  application. The description element should include any information that the
  application assembler wants to provide the deployer.
  -->
  <!ELEMENT description (#PCDATA)>
  
  <!--
  The display-name element specifies an application name.
  The application name is assigned to the application by the application assembler
  and is used to identify the application to the deployer at deployment time.
  -->
  <!ELEMENT display-name (#PCDATA)>
  
  <!--
  The ejb element specifies the URI of a ejb-jar, relative to the top level of the
  application package.
  -->
  <!ELEMENT ejb (#PCDATA)>
  
  <!--
  The icon element contains a small-icon and large-icon element which specify the
  URIs for a small and a large GIF or JPEG icon image to represent the application
  in a GUI.
  -->
  <!ELEMENT icon (small-icon?, large-icon?)>
  
  <!--
  The java element specifies the URI of a java application client module, relative
  to the top level of the application package.
  -->
  <!ELEMENT java (#PCDATA)>
  
  <!--
  The large-icon element specifies the URI for a large GIF or JPEG icon image to
  represent the application in a GUI.
  -->
  <!ELEMENT large-icon (#PCDATA)>
  
  <!--
  The module element represents a single J2EE module and contains an ejb, java, or
  web element, which indicates the module type and contains a path to the module
  file, and an optional alt-dd element, which specifies an optional URI to the
  post-assembly version of the deployment descriptor.
  The application deployment descriptor must have one module element for each J2EE
  module in the application package.
  -->
  <!ELEMENT module ((ejb | java | web), alt-dd?)>
  
  <!--
  The role-name element contains the name of a security role.
  -->
  <!ELEMENT role-name (#PCDATA)>
  
  <!--
  The security-role element contains the definition of a security role which is
  global to the application. The definition consists of a description of the
  security role, and the security role name. The descriptions at this level
  override those in the component level security-role definitions and must be the
  descriptions tool display to the deployer.
  -->
  <!ELEMENT security-role (description?, role-name)>
  
  <!--
  The small-icon element specifies the URI for a small GIF or JPEG icon image to
  represent the application in a GUI.
  -->
  <!ELEMENT small-icon (#PCDATA)>
  
  <!--
  The web element contains the web-uri and context-root of a web application
  module.
  -->
  <!ELEMENT web (web-uri, context-root)>
  
  <!--
  The web-uri element specifies the URI of a web application file, relative to the
  top level of the application package.
  -->
  <!ELEMENT web-uri (#PCDATA)>
  
  <!--
  The ID mechanism is to allow tools to easily make tool-specific references to
  the elements of the deployment descriptor.
   -->
  <!ATTLIST alt-dd id ID #IMPLIED>
  <!ATTLIST application id ID #IMPLIED>
  <!ATTLIST context-root id ID #IMPLIED>
  <!ATTLIST description id ID #IMPLIED>
  <!ATTLIST display-name id ID #IMPLIED>
  <!ATTLIST ejb id ID #IMPLIED>
  <!ATTLIST icon id ID #IMPLIED>
  <!ATTLIST java id ID #IMPLIED>
  <!ATTLIST large-icon id ID #IMPLIED>
  <!ATTLIST module id ID #IMPLIED>
  <!ATTLIST role-name id ID #IMPLIED>
  <!ATTLIST security-role id ID #IMPLIED>
  <!ATTLIST small-icon id ID #IMPLIED>
  <!ATTLIST web id ID #IMPLIED>
  <!ATTLIST web-uri id ID #IMPLIED>
  
  
  
  1.1                  jakarta-cactus/integration/ant/src/confs/application_1_3.dtd
  
  Index: application_1_3.dtd
  ===================================================================
  <!--
  Copyright (c) 2000 Sun Microsystems, Inc.,
  901 San Antonio Road,
  Palo Alto, California 94303, U.S.A.
  All rights reserved.
  
  Sun Microsystems, Inc. has intellectual property rights relating to
  technology embodied in the product that is described in this document.
  In particular, and without limitation, these intellectual property
  rights may include one or more of the U.S. patents listed at
  http://www.sun.com/patents and one or more additional patents or
  pending patent applications in the U.S. and in other countries.
  
  This document and the product to which it pertains are distributed
  under licenses restricting their use, copying, distribution, and
  decompilation.  This document may be reproduced and distributed but may
  not be changed 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,  Java,  JavaServer Pages,  Java
  Naming and Directory Interface,  JDBC,  JDK,  JavaMail and  and
  Enterprise JavaBeans are trademarks or registered trademarks of Sun
  Microsystems, Inc. in the U.S. and other countries.
  
  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 FOR A PARTICULAR PURPOSE OR
  NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH
  DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
  
  
  _________________________________________________________________________
  
  Copyright (c) 2000 Sun Microsystems, Inc.,
  901 San Antonio Road,
  Palo Alto, California 94303, E'tats-Unis.
  Tous droits re'serve's.
  
  Sun Microsystems, Inc. a les droits de proprie'te' intellectuels
  relatants a` la technologie incorpore'e dans le produit qui est de'crit
  dans ce document. En particulier, et sans la limitation, ces droits de
  proprie'te' intellectuels peuvent inclure un ou plus des brevets
  ame'ricains e'nume're's a` http://www.sun.com/patents et un ou les
  brevets plus supple'mentaires ou les applications de brevet en attente
  dans les E'tats-Unis et dans les autres pays.
  
  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.  Ce documention associe n peut
  e^tre reproduite et distribuer, par quelque moyen que ce soit, sans
  l'autorisation pre'alable et e'crite de Sun et de ses bailleurs de
  licence, le cas e'che'ant.
  
  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,  Java,  JavaServer Pages,  Java
  Naming and Directory Interface,  JDBC,  JDK,  JavaMail et  and
  Enterprise JavaBeans sont des marques de fabrique ou des marques
  de'pose'es de Sun Microsystems, Inc. aux E'tats-Unis et dans d'autres
  pays.
  
  LA DOCUMENTATION EST FOURNIE "EN L'E'TAT" 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
  CONTREFAC,ON.
  -->
  
  <!--
  This is the XML DTD for the J2EE 1.3 application deployment
  descriptor.  All J2EE 1.3 application deployment descriptors
  must include a DOCTYPE of the following form:
  
    <!DOCTYPE application PUBLIC
  	"-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
  	"http://java.sun.com/dtd/application_1_3.dtd">
  
  -->
  
  <!--
  The following conventions apply to all J2EE deployment descriptor
  elements unless indicated otherwise.
  
  - In elements that contain PCDATA, leading and trailing whitespace
    in the data may be ignored.
  
  - In elements whose value is an "enumerated type", the value is
    case sensitive.
  
  - In elements that specify a pathname to a file within the same
    JAR file, relative filenames (i.e., those not starting with "/")
    are considered relative to the root of the JAR file's namespace.
    Absolute filenames (i.e., those starting with "/") also specify
    names in the root of the JAR file's namespace.  In general, relative
    names are preferred.  The exception is .war files where absolute
    names are preferred for consistency with the servlet API.
  -->
  
  
  <!--
  The application element is the root element of a J2EE application
  deployment descriptor.
  -->
  <!ELEMENT application (icon?, display-name, description?, module+,
  		security-role*)>
  
  <!--
  The alt-dd element specifies an optional URI to the post-assembly
  version of the deployment descriptor file for a particular J2EE module.
  The URI must specify the full pathname of the deployment descriptor
  file relative to the application's root directory. If alt-dd is not
  specified, the deployer must read the deployment descriptor from the
  default location and file name required by the respective component
  specification.
  
  Used in: module
  -->
  <!ELEMENT alt-dd (#PCDATA)>
  
  <!--
  The connector element specifies the URI of a resource adapter archive
  file, relative to the top level of the application package.
  
  Used in: module
  -->
  <!ELEMENT connector (#PCDATA)>
  
  <!--
  The context-root element specifies the context root of a web
  application.
  
  Used in: web
  -->
  <!ELEMENT context-root (#PCDATA)>
  
  <!--
  The description element is used to provide text describing the parent
  element.  The description element should include any information that
  the application ear file producer wants to provide to the consumer of
  the application ear file (i.e., to the Deployer). Typically, the tools
  used by the application ear file consumer will display the description
  when processing the parent element that contains the description.
  
  Used in: application, security-role
  -->
  <!ELEMENT description (#PCDATA)>
  
  <!--
  The display-name element contains a short name that is intended to be
  displayed by tools.  The display name need not be unique.
  
  Used in: application
  
  Example:
  
  <display-name>Employee Self Service</display-name>
  -->
  <!ELEMENT display-name (#PCDATA)>
  
  <!--
  The ejb element specifies the URI of an ejb-jar, relative to the top
  level of the application package.
  
  Used in: module
  -->
  <!ELEMENT ejb (#PCDATA)>
  
  <!--
  The icon element contains small-icon and large-icon elements that
  specify the file names for small and a large GIF or JPEG icon images
  used to represent the parent element in a GUI tool.
  
  Used in: application
  -->
  <!ELEMENT icon (small-icon?, large-icon?)>
  
  <!--
  The java element specifies the URI of a java application client module,
  relative to the top level of the application package.
  
  Used in: module
  -->
  <!ELEMENT java (#PCDATA)>
  
  <!--
  The large-icon element contains the name of a file
  containing a large (32 x 32) icon image. The file
  name is a relative path within the application's
  ear file.
  
  The image may be either in the JPEG or GIF format.
  The icon can be used by tools.
  
  Used in: icon
  
  Example:
  
  <large-icon>employee-service-icon32x32.jpg</large-icon>
  -->
  <!ELEMENT large-icon (#PCDATA)>
  
  <!--
  The module element represents a single J2EE module and contains a
  connector, ejb, java, or web element, which indicates the module type
  and contains a path to the module file, and an optional alt-dd element,
  which specifies an optional URI to the post-assembly version of the
  deployment descriptor.
  
  The application deployment descriptor must have one module element for
  each J2EE module in the application package.
  
  Used in: application
  -->
  <!ELEMENT module ((connector | ejb | java | web), alt-dd?)>
  
  <!--
  The role-name element contains the name of a security role.
  
  The name must conform to the lexical rules for an NMTOKEN.
  
  Used in: security-role
  -->
  <!ELEMENT role-name (#PCDATA)>
  
  <!--
  The security-role element contains the definition of a security
  role. The definition consists of an optional description of the
  security role, and the security role name.
  
  Used in: application
  
  Example:
  
      <security-role>
  	<description>
  	    This role includes all employees who are authorized
  	    to access the employee service application.
  	</description>
  	<role-name>employee</role-name>
      </security-role>
  -->
  <!ELEMENT security-role (description?, role-name)>
  
  <!--
  The small-icon element contains the name of a file
  containing a small (16 x 16) icon image. The file
  name is a relative path within the application's
  ear file.
  
  The image may be either in the JPEG or GIF format.
  The icon can be used by tools.
  
  Used in: icon
  
  Example:
  
  <small-icon>employee-service-icon16x16.jpg</small-icon>
  -->
  <!ELEMENT small-icon (#PCDATA)>
  
  <!--
  The web element contains the web-uri and context-root of a web
  application module.
  
  Used in: module
  -->
  <!ELEMENT web (web-uri, context-root)>
  
  <!--
  The web-uri element specifies the URI of a web application file,
  relative to the top level of the application package.
  
  Used in: web
  -->
  <!ELEMENT web-uri (#PCDATA)>
  
  <!--
  The ID mechanism is to allow tools that produce additional deployment
  information (i.e., information beyond the standard deployment
  descriptor information) to store the non-standard information in a
  separate file, and easily refer from these tool-specific files to the
  information in the standard deployment descriptor.
  
  Tools are not allowed to add the non-standard information into the
  standard deployment descriptor.
  -->
  
  <!ATTLIST alt-dd id ID #IMPLIED>
  <!ATTLIST application id ID #IMPLIED>
  <!ATTLIST connector id ID #IMPLIED>
  <!ATTLIST context-root id ID #IMPLIED>
  <!ATTLIST description id ID #IMPLIED>
  <!ATTLIST display-name id ID #IMPLIED>
  <!ATTLIST ejb id ID #IMPLIED>
  <!ATTLIST icon id ID #IMPLIED>
  <!ATTLIST java id ID #IMPLIED>
  <!ATTLIST large-icon id ID #IMPLIED>
  <!ATTLIST module id ID #IMPLIED>
  <!ATTLIST role-name id ID #IMPLIED>
  <!ATTLIST security-role id ID #IMPLIED>
  <!ATTLIST small-icon id ID #IMPLIED>
  <!ATTLIST web id ID #IMPLIED>
  <!ATTLIST web-uri id ID #IMPLIED>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org