- From: Philippe Le Hegaret via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 09 Jan 2007 20:04:52 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/test-suite/results-messages In directory hutz:/tmp/cvs-serv7323 Modified Files: generate-message-properties.xslt Log Message: Removed use of key() since it seems broken with my version of ant/xalan Index: generate-message-properties.xslt =================================================================== RCS file: /sources/public/2002/ws/desc/test-suite/results-messages/generate-message-properties.xslt,v retrieving revision 1.6 retrieving revision 1.7 diff -C 2 -d -r1.6 -r1.7 *** generate-message-properties.xslt 9 Jan 2007 00:01:34 -0000 1.6 --- generate-message-properties.xslt 9 Jan 2007 20:04:50 -0000 1.7 *************** *** 20,25 **** <xsl:output method="xml" indent="yes" /> - <xsl:key name='xmlId' match='*' use='@xml:id'/> - <xsl:template match='/'> <messages> --- 20,23 ---- *************** *** 88,92 **** <xsl:otherwise> <xsl:variable name='interfaceComponent' ! select='key("xmlId", $interfaceReferences[position()=1]/@ref)' /> <xsl:variable name='extended'> --- 86,90 ---- <xsl:otherwise> <xsl:variable name='interfaceComponent' ! select='//cm:interfaceComponent[@xml:id = $interfaceReferences[position()=1]/@ref ]' /> <xsl:variable name='extended'> *************** *** 256,260 **** <xsl:variable name='bindingComponent' ! select='key("xmlId", $endpointComponent/cm:binding/@ref)' /> <xsl:variable name='bindingOperationComponent' select='$bindingComponent/cm:bindingOperations/cm:bindingOperationComponent[cm:interfaceOperation[@ref=$interfaceOperationComponent/@xml:id]]' /> --- 254,258 ---- <xsl:variable name='bindingComponent' ! select='//cm:bindingComponent[@xml:id = $endpointComponent/cm:binding/@ref]' /> <xsl:variable name='bindingOperationComponent' select='$bindingComponent/cm:bindingOperations/cm:bindingOperationComponent[cm:interfaceOperation[@ref=$interfaceOperationComponent/@xml:id]]' /> *************** *** 262,266 **** select='$bindingOperationComponent/cm:bindingMessageReferences/cm:bindingMessageReferenceComponent[cm:interfaceMessageReference[@ref=$interfaceMessageReferenceComponent/@xml:id]]'/> <xsl:variable name='interfaceFaultComponent' ! select='key("xmlId", $interfaceMessageReferenceComponent/cm:interfaceFault/@ref)'/> <xsl:variable name='bindingFaultComponent' --- 260,264 ---- select='$bindingOperationComponent/cm:bindingMessageReferences/cm:bindingMessageReferenceComponent[cm:interfaceMessageReference[@ref=$interfaceMessageReferenceComponent/@xml:id]]'/> <xsl:variable name='interfaceFaultComponent' ! select='//cm:interfaceFaultComponent[@xml:id = $interfaceMessageReferenceComponent/cm:interfaceFault/@ref]'/> <xsl:variable name='bindingFaultComponent' *************** *** 352,356 **** <xsl:call-template name='generate-soap-header'> <xsl:with-param name='soapHeader' select='.' /> ! <xsl:with-param name='elementDeclarationComponent' select='key("xmlId", cmsoap:elementDeclaration/@ref)'/> </xsl:call-template> </xsl:for-each> --- 350,354 ---- <xsl:call-template name='generate-soap-header'> <xsl:with-param name='soapHeader' select='.' /> ! <xsl:with-param name='elementDeclarationComponent' select='//cm:elementDeclarationComponent[@xml:id = current()/cmsoap:elementDeclaration/@ref]'/> </xsl:call-template> </xsl:for-each> *************** *** 363,367 **** <xsl:call-template name='generate-soap-header'> <xsl:with-param name='soapHeader' select='.' /> ! <xsl:with-param name='elementDeclarationComponent' select='key("xmlId", cmsoap:elementDeclaration/@ref)'/> </xsl:call-template> </xsl:for-each> --- 361,365 ---- <xsl:call-template name='generate-soap-header'> <xsl:with-param name='soapHeader' select='.' /> ! <xsl:with-param name='elementDeclarationComponent' select='/cm:descriptionComponent//cm:elementDeclarationComponent[@xml:id = current()/cmsoap:elementDeclaration/@ref]'/> </xsl:call-template> </xsl:for-each> *************** *** 429,433 **** </xsl:if> <contentModel> ! <xsl:variable name='elementDeclarationComponent' select='key("xmlId", $interfaceFaultComponent/cm:elementDeclaration/@ref)'/> <xsl:attribute name='localName'> <xsl:value-of select='$elementDeclarationComponent/cm:name/cmbase:localName'/> --- 427,431 ---- </xsl:if> <contentModel> ! <xsl:variable name='elementDeclarationComponent' select='//cm:elementDeclarationComponent[@xml:id = $interfaceFaultComponent/cm:elementDeclaration/@ref]'/> <xsl:attribute name='localName'> <xsl:value-of select='$elementDeclarationComponent/cm:name/cmbase:localName'/> *************** *** 443,447 **** <messageContentModel type='{$msgCModel}'> <xsl:if test='$msgCModel="#element"'> ! <xsl:variable name='elementDeclarationComponent' select='key("xmlId", $interfaceMessageReferenceComponent/cm:elementDeclaration/@ref)'/> <xsl:attribute name='localName'> <xsl:value-of select='$elementDeclarationComponent/cm:name/cmbase:localName'/> --- 441,445 ---- <messageContentModel type='{$msgCModel}'> <xsl:if test='$msgCModel="#element"'> ! <xsl:variable name='elementDeclarationComponent' select='//cm:elementDeclarationComponent[@xml:id = $interfaceMessageReferenceComponent/cm:elementDeclaration/@ref]'/> <xsl:attribute name='localName'> <xsl:value-of select='$elementDeclarationComponent/cm:name/cmbase:localName'/> *************** *** 492,496 **** <xsl:otherwise> <xsl:variable name='interfaceComponent' ! select='key("xmlId", $interfaceReferences[position()=1]/@ref)' /> <xsl:variable name='extended'> --- 490,494 ---- <xsl:otherwise> <xsl:variable name='interfaceComponent' ! select='//cm:interfaceComponent[@xml:id = $interfaceReferences[position()=1]/@ref]' /> <xsl:variable name='extended'>
Received on Tuesday, 9 January 2007 20:04:56 UTC