W3C home > Mailing lists > Public > public-ws-desc-eds@w3.org > May 2007

2002/ws/desc/test-suite/results/wsdl-xslt wsdl-component-model.xslt,1.36,1.37

From: Jonathan Marsh via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 22 May 2007 17:54:07 +0000
To: public-ws-desc-eds@w3.org
Message-Id: <E1HqYYh-000641-H6@lionel-hutz.w3.org>

Update of /sources/public/2002/ws/desc/test-suite/results/wsdl-xslt
In directory hutz:/tmp/cvs-serv23283/test-suite/results/wsdl-xslt

Modified Files:
	wsdl-component-model.xslt 
Log Message:
Propagate swasdl annotations from complexTypes to elements when those elements refer to annotated complexTypes.

Index: wsdl-component-model.xslt
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/results/wsdl-xslt/wsdl-component-model.xslt,v
retrieving revision 1.36
retrieving revision 1.37
diff -C 2 -d -r1.36 -r1.37
*** wsdl-component-model.xslt	17 May 2007 01:09:27 -0000	1.36
--- wsdl-component-model.xslt	22 May 2007 17:54:04 -0000	1.37
***************
*** 1155,1161 ****
                  <xsl:if test="$sawsdl-engaged">
                      <sawsdlcm:sawsdlElementDeclarationExtension>
!                         <xsl:call-template name="sawsdl-model-reference"/>
!                         <xsl:call-template name="sawsdl-lifting-schema-mapping"/>
!                         <xsl:call-template name="sawsdl-lowering-schema-mapping"/>
                      </sawsdlcm:sawsdlElementDeclarationExtension>      
                  </xsl:if>
--- 1155,1183 ----
                  <xsl:if test="$sawsdl-engaged">
                      <sawsdlcm:sawsdlElementDeclarationExtension>
!                         <xsl:variable name="type-local-name" select="substring-after(@type, ':')"/>
! 				    	<xsl:variable name="type-prefix" select="substring-before(@type, ':')"/>
! 				    	<xsl:variable name="type-namespace-name" select="namespace::*[local-name()=$type-prefix]"/>
! 				    	<xsl:variable name="referenced-type" select="$all-types[@name=$type-local-name][../@targetNamespace=$type-namespace-name]"/>
! 				        <xsl:if test="@sawsdl:modelReference or $referenced-type/@sawsdl:modelReference">
! 				            <sawsdlcm:modelReference>
! 				                <xsl:call-template name="split-uri-list">
! 				                    <xsl:with-param name="uri-list" select="normalize-space(concat(@sawsdl:modelReference, ' ', $referenced-type/@sawsdl:modelReference))"/>
! 				                </xsl:call-template>
! 				            </sawsdlcm:modelReference>
! 				        </xsl:if>
! 				        <xsl:if test="@sawsdl:liftingSchemaMapping or $referenced-type/@sawsdl:liftingSchemaMapping">
! 				            <sawsdlcm:liftingSchemaMapping>
! 				                <xsl:call-template name="split-uri-list">
! 				                    <xsl:with-param name="uri-list" select="normalize-space(concat(@sawsdl:liftingSchemaMapping, ' ', $referenced-type/@sawsdl:liftingSchemaMapping))"/>
! 				                </xsl:call-template>
! 				            </sawsdlcm:liftingSchemaMapping>
! 				        </xsl:if>
! 				        <xsl:if test="@sawsdl:loweringSchemaMapping or $referenced-type/@sawsdl:loweringSchemaMapping">
! 				            <sawsdlcm:loweringSchemaMapping>
! 				                <xsl:call-template name="split-uri-list">
! 				                    <xsl:with-param name="uri-list" select="normalize-space(concat(@sawsdl:loweringSchemaMapping, ' ', $referenced-type/@sawsdl:loweringSchemaMapping))"/>
! 				                </xsl:call-template>
! 				            </sawsdlcm:loweringSchemaMapping>
! 				        </xsl:if>
                      </sawsdlcm:sawsdlElementDeclarationExtension>      
                  </xsl:if>
Received on Tuesday, 22 May 2007 17:54:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2007 17:54:12 GMT