Wow. I wonder how anyone will ever find out if they typed it or if they just copied ;)
regards, Martin On 2/23/07, Paul McMahan <[EMAIL PROTECTED]> wrote:
The Geronimo project recently encountered this situation for several JEE schemas. It wasn't totally clear whether or not including the Sun XSDs was OK, and it was soon realized that it would be more practical to type in the XSDs by hand than try to reach a definitive conclusion. See this JIRA for details: https://issues.apache.org/jira/browse/GERONIMO-2630 Also, if you end up typing in a schema there is a utility attached to that JIRA that can be used to compare schemas to make sure they are equivalent. Best wishes, Paul On 2/23/07, Mathias Brökelmann <[EMAIL PROTECTED]> wrote: > I wasn't aware of this. the dtds of 1.0 and 1.1 are also present in > our repository... > > 2007/2/23, Matthias Wessendorf <[EMAIL PROTECTED]>: > > isn't that CCLD for what ever their OS license is named ? > > Should go to the notice.txt file, IMO > > > > -M > > > > On 2/23/07, Dennis Byrne <[EMAIL PROTECTED]> wrote: > > > Not to slow you down, but can we distribute this? > > > > > > Dennis Byrne > > > > > > > > > On 2/23/07, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > > > Author: mbr > > > > Date: Fri Feb 23 06:18:39 2007 > > > > New Revision: 510950 > > > > > > > > URL: http://svn.apache.org/viewvc?view=rev&rev=510950 > > > > Log: > > > > add 1.2 xsd > > > > > > > > Added: > > > > > > > myfaces/core/branches/jsf12/impl/src/main/resources/org/apache/myfaces/resource/web-facesconfig_1_2.xsd > > > > > > > > Added: > > > myfaces/core/branches/jsf12/impl/src/main/resources/org/apache/myfaces/resource/web-facesconfig_1_2.xsd > > > > URL: > > > http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/impl/src/main/resources/org/apache/myfaces/resource/web-facesconfig_1_2.xsd?view=auto&rev=510950 > > > > > > > ============================================================================== > > > > --- > > > myfaces/core/branches/jsf12/impl/src/main/resources/org/apache/myfaces/resource/web-facesconfig_1_2.xsd > > > (added) > > > > +++ > > > myfaces/core/branches/jsf12/impl/src/main/resources/org/apache/myfaces/resource/web-facesconfig_1_2.xsd > > > Fri Feb 23 06:18:39 2007 > > > > @@ -0,0 +1,2071 @@ > > > > +<?xml version = "1.0" encoding = "UTF-8"?> > > > > + > > > > +<xsd:schema > > > > + targetNamespace="http://java.sun.com/xml/ns/javaee > > > " > > > > + xmlns:javaee="http://java.sun.com/xml/ns/javaee" > > > > + xmlns:xsd="http://www.w3.org/2001/XMLSchema " > > > > + xmlns:xml="http://www.w3.org/XML/1998/namespace" > > > > + elementFormDefault="qualified" > > > > + attributeFormDefault="unqualified" > > > > + version="1.2"> > > > > + > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + $Id: web-facesconfig_1_2.xsd,v 1.11 2006/03/27 00:12:24 > > > rogerk Exp $ > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + Copyright 2005 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 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 other countries. > > > > + > > > > + This document and the technology which it describes are > > > > + distributed under licenses restricting their use, copying, > > > > + distribution, and decompilation. No part of this document > > > > + 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, Java EE, > > > > + JavaServer Pages, Enterprise JavaBeans and the Java Coffee > > > > + Cup logo 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. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + <![CDATA[ > > > > + > > > > + The XML Schema for the JavaServer Faces Application > > > > + Configuration File (Version 1.2). > > > > + > > > > + All JavaServer Faces configuration files must indicate > > > > + the JavaServer Faces schema by indicating the JavaServer > > > > + Faces namespace: > > > > + > > > > + http://java.sun.com/xml/ns/javaee > > > > + > > > > + and by indicating the version of the schema by > > > > + using the version element as shown below: > > > > + > > > > + <faces-config > > > xmlns="http://java.sun.com/xml/ns/javaee" > > > > + xmlns:xsi=" > > > http://www.w3.org/2001/XMLSchema-instance" > > > > + xsi:schemaLocation="..." > > > > + version="1.2"> > > > > + ... > > > > + </faces-config> > > > > + > > > > + The instance documents may indicate the published > > > > + version of the schema using xsi:schemaLocation attribute > > > > + for javaee namespace with the following location: > > > > + > > > > + > > > http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd > > > > + > > > > + ]]> > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + > > > > + <xsd:include schemaLocation="javaee_5.xsd"/> > > > > + > > > > + <!-- > > > **************************************************** --> > > > > + > > > > + <xsd:element name = "faces-config" type="javaee:faces-configType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "faces-config" element is the root of the > > > configuration > > > > + information hierarchy, and contains nested elements for > > > all > > > > + of the other configuration settings. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + > > > > + <xsd:unique > > > name="faces-config-converter-ID-uniqueness"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + Converter IDs must be unique within a document. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + > > > > + <xsd:selector xpath="javaee:converter"/> > > > > + <xsd:field xpath="javaee:converter-id"/> > > > > + </xsd:unique> > > > > + > > > > + <xsd:unique > > > name="faces-config-converter-for-class-uniqueness"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + 'converter-for-class' element values > > > must be unique > > > > + within a document. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + > > > > + <xsd:selector xpath="javaee:converter"/> > > > > + <xsd:field > > > xpath="javaee:converter-for-class"/> > > > > + </xsd:unique> > > > > + > > > > + <xsd:unique > > > name="faces-config-validator-ID-uniqueness"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + Validator IDs must be unique within a document. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + > > > > + <xsd:selector xpath="javaee:validator"/> > > > > + <xsd:field xpath="javaee:validator-id"/> > > > > + </xsd:unique> > > > > + > > > > + <xsd:unique > > > name="faces-config-managed-bean-name-uniqueness"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + Managed bean names must be unique within a document. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + > > > > + <xsd:selector xpath="javaee:managed-bean"/> > > > > + <xsd:field > > > xpath="javaee:managed-bean-name"/> > > > > + </xsd:unique> > > > > + </xsd:element> > > > > + > > > > + <!-- > > > **************************************************** --> > > > > + > > > > + <xsd:complexType name="faces-configType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "faces-config" element is the root of the > > > configuration > > > > + information hierarchy, and contains nested elements for > > > all > > > > + of the other configuration settings. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + <xsd:choice minOccurs="0" maxOccurs="unbounded"> > > > > + <xsd:element name="application" > > > > + > > > type="javaee:faces-config-applicationType"/> > > > > + <xsd:element name="factory" > > > > + > > > type="javaee:faces-config-factoryType"/> > > > > + <xsd:element name="component" > > > > + > > > type="javaee:faces-config-componentType"/> > > > > + <xsd:element name="converter" > > > > + > > > type="javaee:faces-config-converterType"/> > > > > + <xsd:element name="managed-bean" > > > > + > > > type="javaee:faces-config-managed-beanType"/> > > > > + <xsd:element name="navigation-rule" > > > > + > > > type="javaee:faces-config-navigation-ruleType"/> > > > > + <xsd:element name="referenced-bean" > > > > + > > > type="javaee:faces-config-referenced-beanType"/> > > > > + <xsd:element name="render-kit" > > > > + > > > type="javaee:faces-config-render-kitType"/> > > > > + <xsd:element name="lifecycle" > > > > + > > > type="javaee:faces-config-lifecycleType"/> > > > > + <xsd:element name="validator" > > > > + > > > type="javaee:faces-config-validatorType"/> > > > > + <xsd:element name="faces-config-extension" > > > > + > > > type="javaee:faces-config-extensionType" > > > > + minOccurs="0" > > > > + maxOccurs="unbounded"/> > > > > + </xsd:choice> > > > > + <xsd:attribute name = "id" type = "xsd:ID"/> > > > > + <xsd:attribute name="version" > > > > + type="javaee:faces-config-versionType" > > > > + use="required"/> > > > > + </xsd:complexType> > > > > + > > > > + <!-- > > > **************************************************** --> > > > > + > > > > + <xsd:complexType name = "faces-config-extensionType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + Extension element for faces-config. It may contain > > > > + implementation specific content. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + > > > > + <xsd:sequence> > > > > + <xsd:any namespace="##any" > > > > + processContents="lax" > > > > + minOccurs="0" > > > > + maxOccurs="unbounded" /> > > > > + </xsd:sequence> > > > > + <xsd:attribute name="id" type="xsd:ID"/> > > > > + </xsd:complexType> > > > > + > > > > + > > > > + <!-- > > > **************************************************** --> > > > > + > > > > + <xsd:complexType > > > name="faces-config-applicationType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "application" element provides a mechanism to define > > > the > > > > + various per-application-singleton implementation > > > artifacts for > > > > + a particular web application that is utilizing > > > > + JavaServer Faces. For nested elements that are not > > > specified, > > > > + the JSF implementation must provide a suitable default. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + > > > > + <xsd:choice minOccurs="0" maxOccurs="unbounded"> > > > > + <xsd:element name="action-listener" > > > > + > > > type="javaee:fully-qualified-classType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "action-listener" > > > element contains the fully > > > > + qualified class name of the > > > concrete > > > > + ActionListener > > > implementation class that will be > > > > + called during the Invoke > > > Application phase of the > > > > + request processing > > > lifecycle. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + </xsd:element> > > > > + <xsd:element name="default-render-kit-id" > > > > + type="javaee:string"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "default-render-kit-id" > > > element allows the > > > > + application to define a > > > renderkit to be used other > > > > + than the standard one. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + </xsd:element> > > > > + <xsd:element name="message-bundle" > > > > + type="javaee:string"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The base name of a resource > > > bundle representing > > > > + the message resources for > > > this application. See > > > > + the JavaDocs for the > > > "java.util.ResourceBundle" > > > > + class for more information > > > on the syntax of > > > > + resource bundle names. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + </xsd:element> > > > > + <xsd:element name="navigation-handler" > > > > + > > > type="javaee:fully-qualified-classType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "navigation-handler" > > > element contains the > > > > + fully qualified class name > > > of the concrete > > > > + NavigationHandler > > > implementation class that will > > > > + be called during the Invoke Application phase > > > > + of the request processing lifecycle, if the > > > > + default ActionListener > > > (provided by the JSF > > > > + implementation) is used. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + </xsd:element> > > > > + <xsd:element name="view-handler" > > > > + > > > type="javaee:fully-qualified-classType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "view-handler" element > > > contains the fully > > > > + qualified class name of the > > > concrete ViewHandler > > > > + implementation class that > > > will be called during > > > > + the Restore View and Render > > > Response phases of the > > > > + request processing > > > lifecycle. The faces > > > > + implementation must provide > > > a default > > > > + implementation of this > > > class. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + </xsd:element> > > > > + <xsd:element name="state-manager" > > > > + > > > type="javaee:fully-qualified-classType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "state-manager" element > > > contains the fully > > > > + qualified class name of the > > > concrete StateManager > > > > + implementation class that > > > will be called during > > > > + the Restore View and Render > > > Response phases of the > > > > + request processing > > > lifecycle. The faces > > > > + implementation must provide > > > a default > > > > + implementation of this > > > class. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + </xsd:element> > > > > + <xsd:element name="el-resolver" > > > > + > > > type="javaee:fully-qualified-classType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "el-resolver" element > > > contains the fully > > > > + qualified class name of the > > > concrete > > > > + javax.el.ELResolver implementation class > > > > + that will be used during the > > > processing of > > > > + EL expressions. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + </xsd:element> > > > > + <xsd:element name="property-resolver" > > > > + > > > type="javaee:fully-qualified-classType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "property-resolver" > > > element contains the fully > > > > + qualified class name of the > > > concrete > > > > + PropertyResolver > > > implementation class that will > > > > + be used during the processing of value > > > binding > > > > + expressions. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + </xsd:element> > > > > + <xsd:element name="variable-resolver" > > > > + > > > type="javaee:fully-qualified-classType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "variable-resolver" > > > element contains the fully > > > > + qualified class name of the > > > concrete > > > > + VariableResolver > > > implementation class that will > > > > + be used during the processing of value > > > binding > > > > + expressions. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + </xsd:element> > > > > + <xsd:element > > > > + name="locale-config" > > > > + > > > type="javaee:faces-config-locale-configType"/> > > > > + <xsd:element > > > > + name="resource-bundle" > > > > + > > > type="javaee:faces-config-application-resource-bundleType"/> > > > > + <xsd:element name="application-extension" > > > > + > > > type="javaee:faces-config-application-extensionType" > > > > + minOccurs="0" > > > > + maxOccurs="unbounded"/> > > > > + </xsd:choice> > > > > + <xsd:attribute name = "id" type = "xsd:ID"/> > > > > + </xsd:complexType> > > > > + > > > > + <xsd:complexType > > > name="faces-config-application-resource-bundleType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The resource-bundle element inside the application element > > > > + references a java.util.ResourceBundle instance by name > > > > + using the var element. ResourceBundles referenced in this > > > > + manner may be returned by a call to > > > > + Application.getResourceBundle() passing the current > > > > + FacesContext for this request and the value of the var > > > > + element below. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + > > > > + <xsd:sequence> > > > > + <xsd:group ref="javaee:descriptionGroup"/> > > > > + <xsd:element name="base-name" > > > > + > > > type="javaee:fully-qualified-classType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The fully qualified class name of the > > > > + java.util.ResourceBundle instance. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + </xsd:element> > > > > + <xsd:element name="var" > > > > + type="javaee:string"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The name by which this ResourceBundle instance > > > > + is retrieved by a call to > > > > + Application.getResourceBundle(). > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + </xsd:element> > > > > + </xsd:sequence> > > > > + <xsd:attribute name="id" type="xsd:ID"/> > > > > + </xsd:complexType> > > > > + > > > > + <!-- > > > **************************************************** --> > > > > + > > > > + <xsd:complexType name = > > > "faces-config-application-extensionType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + Extension element for application. It may contain > > > > + implementation specific content. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + > > > > + <xsd:sequence> > > > > + <xsd:any namespace="##any" > > > > + processContents="lax" > > > > + minOccurs="0" > > > > + maxOccurs="unbounded" /> > > > > + </xsd:sequence> > > > > + <xsd:attribute name="id" type="xsd:ID"/> > > > > + </xsd:complexType> > > > > + > > > > + > > > > + <!-- > > > **************************************************** --> > > > > + > > > > + <xsd:complexType name = "faces-config-factoryType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "factory" element provides a mechanism to define the > > > > + various Factories that comprise parts of the > > > implementation > > > > + of JavaServer Faces. For nested elements that are not > > > > + specified, the JSF implementation must provide a suitable > > > > + default. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + > > > > + <xsd:choice minOccurs="0" maxOccurs="unbounded"> > > > > + <xsd:element name="application-factory" > > > > + > > > type="javaee:fully-qualified-classType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "application-factory" element contains the > > > > + fully qualified class name of the concrete > > > > + ApplicationFactory > > > implementation class that will > > > > + be called when > > > > + FactoryFinder.getFactory(APPLICATION_FACTORY) is > > > > + called. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + </xsd:element> > > > > + <xsd:element name="faces-context-factory" > > > > + > > > type="javaee:fully-qualified-classType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "faces-context-factory" element contains the > > > > + fully qualified class name of the concrete > > > > + FacesContextFactory > > > implementation class that will > > > > + be called when > > > > + FactoryFinder.getFactory(FACES_CONTEXT_FACTORY) > > > > + is called. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + </xsd:element> > > > > + <xsd:element name="lifecycle-factory" > > > > + > > > type="javaee:fully-qualified-classType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "lifecycle-factory" element contains the > > > fully > > > > + qualified class name of the > > > concrete LifecycleFactory > > > > + implementation class that will > > > be called when > > > > + FactoryFinder.getFactory(LIFECYCLE_FACTORY) is > > > called. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + </xsd:element> > > > > + <xsd:element name="render-kit-factory" > > > > + > > > type="javaee:fully-qualified-classType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "render-kit-factory" element contains the > > > fully > > > > + qualified class name of the > > > concrete RenderKitFactory > > > > + implementation class that will > > > be called when > > > > + FactoryFinder.getFactory(RENDER_KIT_FACTORY) is > > > > + called. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + </xsd:element> > > > > + <xsd:element name="factory-extension" > > > > + > > > type="javaee:faces-config-factory-extensionType" > > > > + minOccurs="0" > > > > + maxOccurs="unbounded"/> > > > > + </xsd:choice> > > > > + <xsd:attribute name = "id" type = "xsd:ID"/> > > > > + </xsd:complexType> > > > > + > > > > + <!-- > > > **************************************************** --> > > > > + > > > > + <xsd:complexType name = > > > "faces-config-factory-extensionType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + Extension element for factory. It may contain > > > > + implementation specific content. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + > > > > + <xsd:sequence> > > > > + <xsd:any namespace="##any" > > > > + processContents="lax" > > > > + minOccurs="0" > > > > + maxOccurs="unbounded" /> > > > > + </xsd:sequence> > > > > + <xsd:attribute name="id" type="xsd:ID"/> > > > > + </xsd:complexType> > > > > + > > > > + > > > > + <!-- > > > **************************************************** --> > > > > + > > > > + <xsd:complexType name="faces-config-attributeType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "attribute" element represents a named, typed, value > > > > + associated with the parent UIComponent via the generic > > > > + attributes mechanism. > > > > + > > > > + Attribute names must be unique within the scope of the > > > parent > > > > + (or related) component. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + > > > > + <xsd:sequence> > > > > + <xsd:group ref="javaee:descriptionGroup"/> > > > > + <xsd:element name="attribute-name" > > > > + type="javaee:string"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "attribute-name" element represents the name > > > under > > > > + which the corresponding value will be stored, in > > > the > > > > + generic attributes of the > > > UIComponent we are related > > > > + to. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + </xsd:element> > > > > + <xsd:element name="attribute-class" > > > > + > > > type="javaee:fully-qualified-classType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "attribute-class" element represents the Java > > > type > > > > + of the value associated with this attribute name. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + </xsd:element> > > > > + <xsd:element name="default-value" > > > > + > > > type="javaee:faces-config-default-valueType" > > > > + minOccurs="0"/> > > > > + <xsd:element name="suggested-value" > > > > + > > > type="javaee:faces-config-suggested-valueType" > > > > + minOccurs="0"/> > > > > + <xsd:element name="attribute-extension" > > > > + > > > type="javaee:faces-config-attribute-extensionType" > > > > + minOccurs="0" > > > > + maxOccurs="unbounded"/> > > > > + </xsd:sequence> > > > > + <xsd:attribute name = "id" type = "xsd:ID"/> > > > > + </xsd:complexType> > > > > + > > > > + <!-- > > > **************************************************** --> > > > > + > > > > + <xsd:complexType name = > > > "faces-config-attribute-extensionType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + Extension element for attribute. It may contain > > > > + implementation specific content. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + > > > > + <xsd:sequence> > > > > + <xsd:any namespace="##any" > > > > + processContents="lax" > > > > + minOccurs="0" > > > > + maxOccurs="unbounded" /> > > > > + </xsd:sequence> > > > > + <xsd:attribute name="id" type="xsd:ID"/> > > > > + </xsd:complexType> > > > > + > > > > + <!-- > > > **************************************************** --> > > > > + > > > > + <xsd:complexType name="faces-config-componentType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "component" element represents a concrete UIComponent > > > > + implementation class that should be registered under the > > > > + specified type identifier, along with its associated > > > > + properties and attributes. Component types must be > > > unique > > > > + within the entire web application. > > > > + > > > > + Nested "attribute" elements identify generic attributes > > > that > > > > + are recognized by the implementation logic of this > > > component. > > > > + Nested "property" elements identify JavaBeans properties > > > of > > > > + the component class that may be exposed for manipulation > > > > + via tools. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + > > > > + <xsd:sequence> > > > > + <xsd:group ref="javaee:descriptionGroup"/> > > > > + <xsd:element name="component-type" > > > > + type="javaee:string"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "component-type" element represents the name > > > under > > > > + which the corresponding UIComponent class should > > > be > > > > + registered. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + </xsd:element> > > > > + <xsd:element name="component-class" > > > > + > > > type="javaee:fully-qualified-classType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "component-class" element represents the > > > fully > > > > + qualified class name of a > > > concrete UIComponent > > > > + implementation class. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + </xsd:element> > > > > + <xsd:element name="facet" > > > > + > > > type="javaee:faces-config-facetType" > > > > + minOccurs="0" > > > > + maxOccurs="unbounded"/> > > > > + <xsd:element name="attribute" > > > > + > > > type="javaee:faces-config-attributeType" > > > > + minOccurs="0" > > > > + maxOccurs="unbounded"/> > > > > + <xsd:element name="property" > > > > + > > > type="javaee:faces-config-propertyType" > > > > + minOccurs="0" > > > > + maxOccurs="unbounded"/> > > > > + <xsd:element name="component-extension" > > > > + > > > type="javaee:faces-config-component-extensionType" > > > > + minOccurs="0" > > > > + maxOccurs="unbounded"/> > > > > + </xsd:sequence> > > > > + <xsd:attribute name="id" type="xsd:ID"/> > > > > + </xsd:complexType> > > > > + > > > > + <!-- > > > **************************************************** --> > > > > + > > > > + <xsd:complexType > > > name="faces-config-component-extensionType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + Extension element for component. It may contain > > > > + implementation specific content. > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + > > > > + <xsd:sequence> > > > > + <xsd:any namespace="##any" > > > > + processContents="lax" > > > > + minOccurs="0" > > > > + maxOccurs="unbounded" /> > > > > + </xsd:sequence> > > > > + <xsd:attribute name="id" type="xsd:ID"/> > > > > + </xsd:complexType> > > > > + > > > > + <!-- > > > **************************************************** --> > > > > + > > > > + <xsd:complexType > > > name="faces-config-default-localeType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "default-locale" element declares the default locale > > > > + for this application instance. > > > > + > > > > + It must be specified as > > > :language:[_:country:[_:variant:]] > > > > + without the colons, for example "ja_JP_SJIS". The > > > > + separators between the segments may be '-' or '_'. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + <xsd:simpleContent> > > > > + <xsd:extension > > > base="javaee:faces-config-localeType"> > > > > + <xsd:attribute name="id" type="xsd:ID"/> > > > > + </xsd:extension> > > > > + </xsd:simpleContent> > > > > + </xsd:complexType> > > > > + > > > > + <!-- > > > **************************************************** --> > > > > + > > > > + > > > > + <xsd:complexType > > > name="faces-config-default-valueType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "default-value" contains the value for the property > > > or > > > > + attribute in which this element resides. This value > > > differs > > > > + from the "suggested-value" in that the property or > > > attribute > > > > + must take the value, whereas in "suggested-value" taking > > > the > > > > + value is optional. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + <xsd:simpleContent> > > > > + <xsd:restriction base="javaee:string"/> > > > > + </xsd:simpleContent> > > > > + </xsd:complexType> > > > > + > > > > + <!-- > > > **************************************************** --> > > > > + > > > > + <xsd:simpleType > > > name="faces-config-el-expressionType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + EL expressions present within a faces config file > > > > + must start with the character sequence of '#{' and > > > > + end with '}'. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + <xsd:restriction base="xsd:string"> > > > > + <xsd:pattern value="#\{.*\}"/> > > > > + </xsd:restriction> > > > > + </xsd:simpleType> > > > > + > > > > + <!-- > > > **************************************************** --> > > > > + > > > > + <xsd:complexType name="faces-config-facetType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + Define the name and other design-time information for a > > > facet > > > > + that is associated with a renderer or a component. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + > > > > + <xsd:sequence> > > > > + <xsd:group ref="javaee:descriptionGroup"/> > > > > + <xsd:element name="facet-name" > > > > + > > > type="javaee:java-identifierType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "facet-name" element represents the facet > > > name > > > > + under which a UIComponent will be added to its > > > parent. > > > > + It must be of type "Identifier". > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + </xsd:element> > > > > + <xsd:element name="facet-extension" > > > > + > > > type="javaee:faces-config-facet-extensionType" > > > > + minOccurs="0" > > > > + maxOccurs="unbounded"/> > > > > + </xsd:sequence> > > > > + <xsd:attribute name="id" type="xsd:ID"/> > > > > + </xsd:complexType> > > > > + > > > > + <!-- > > > **************************************************** --> > > > > + > > > > + <xsd:complexType > > > name="faces-config-facet-extensionType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + Extension element for facet. It may contain > > > implementation > > > > + specific content. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + > > > > + <xsd:sequence> > > > > + <xsd:any namespace="##any" > > > > + processContents="lax" > > > > + minOccurs="0" > > > > + maxOccurs="unbounded" /> > > > > + </xsd:sequence> > > > > + <xsd:attribute name="id" type="xsd:ID"/> > > > > + </xsd:complexType> > > > > + > > > > + <!-- > > > **************************************************** --> > > > > + > > > > + <xsd:complexType > > > name="faces-config-from-view-idType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The value of from-view-id must contain one of the > > > following > > > > + values: > > > > + > > > > + - The exact match for a view identifier that is > > > recognized > > > > + by the the ViewHandler implementation being used > > > (such as > > > > + "/index.jsp" if you are using the > > > default ViewHandler). > > > > + > > > > + - A proper prefix of a view identifier, plus a trailing > > > > + "*" character. This pattern indicates that all view > > > > + identifiers that match the portion > > > of the pattern up to > > > > + the asterisk will match the surrounding rule. When > > > more > > > > + than one match exists, the match with the longest > > > pattern > > > > + is selected. > > > > + > > > > + - An "*" character, which means that this pattern > > > applies > > > > + to all view identifiers. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + <xsd:simpleContent> > > > > + <xsd:restriction base="javaee:string"/> > > > > + </xsd:simpleContent> > > > > + </xsd:complexType> > > > > + > > > > + <!-- > > > **************************************************** --> > > > > + > > > > + <xsd:complexType > > > name="faces-config-from-actionType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "from-action" element contains an action reference > > > > + expression that must have been executed (by the default > > > > + ActionListener for handling application level events) > > > > + in order to select the navigation rule. If not > > > specified, > > > > + this rule will be relevant no matter which action > > > reference > > > > + was executed (or if no action reference was executed). > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + <xsd:simpleContent> > > > > + <xsd:extension > > > base="javaee:faces-config-el-expressionType"> > > > > + <xsd:attribute name="id" type="xsd:ID"/> > > > > + </xsd:extension> > > > > + </xsd:simpleContent> > > > > + </xsd:complexType> > > > > + > > > > + <!-- > > > **************************************************** --> > > > > + > > > > + <xsd:complexType name="faces-config-converterType"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "converter" element represents a concrete Converter > > > > + implementation class that should be registered under the > > > > + specified converter identifier. Converter identifiers > > > must > > > > + be unique within the entire web application. > > > > + > > > > + Nested "attribute" elements identify generic attributes > > > that > > > > + may be configured on the corresponding UIComponent in > > > order > > > > + to affect the operation of the Converter. Nested > > > "property" > > > > + elements identify JavaBeans properties of the Converter > > > > + implementation class that may be configured to affect the > > > > + operation of the Converter. "attribute" and "property" > > > > + elements are intended to allow component developers to > > > > + more completely describe their components to tools and > > > users. > > > > + These elements have no required runtime semantics. > > > > + > > > > + </xsd:documentation> > > > > + </xsd:annotation> > > > > + > > > > + <xsd:sequence> > > > > + <xsd:group ref="javaee:descriptionGroup"/> > > > > + <xsd:choice> > > > > + <xsd:element name="converter-id" > > > > + type="javaee:string"> > > > > + <xsd:annotation> > > > > + <xsd:documentation> > > > > + > > > > + The "converter-id" element > > > represents the > > > > > > > ... > > > > > > [Message clipped] > > > > > > -- > > Matthias Wessendorf > > http://tinyurl.com/fmywh > > > > further stuff: > > blog: http://jroller.com/page/mwessendorf > > mail: mwessendorf-at-gmail-dot-com > > > > > -- > Mathias >
-- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces
