- From: Hugo Haas via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 29 Jul 2005 14:33:23 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/wsdl20 In directory homer:/tmp/cvs-serv13965 Modified Files: wsdldefs.xsl Log Message: Added error messages for broken references Index: wsdldefs.xsl =================================================================== RCS file: /sources/public/2002/ws/desc/wsdl20/wsdldefs.xsl,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** wsdldefs.xsl 29 Jul 2005 14:23:44 -0000 1.4 --- wsdldefs.xsl 29 Jul 2005 14:33:21 -0000 1.5 *************** *** 71,76 **** <xsl:template match="comp"> ! <xsl:variable name="component" select="normalize-space()"/> ! <xsl:if test="$component != ''"> <xsl:variable name="src"> <xsl:call-template name="component-src"> --- 71,78 ---- <xsl:template match="comp"> ! <xsl:variable name="component" ! select="normalize-space()"/> ! <xsl:choose> ! <xsl:when test="$component != ''"> <xsl:variable name="src"> <xsl:call-template name="component-src"> *************** *** 83,90 **** </xsl:call-template> </xsl:variable> <a href="{$src}#{$anchor}"> <xsl:value-of select="$component" /> </a> ! </xsl:if> </xsl:template> --- 85,102 ---- </xsl:call-template> </xsl:variable> + <xsl:if test="$src = '.html'"> + <xsl:message> + <xsl:text>Unsupported component reference:</xsl:text> + <xsl:value-of select="$anchor"/> + </xsl:message> + </xsl:if> <a href="{$src}#{$anchor}"> <xsl:value-of select="$component" /> </a> ! </xsl:when> ! <xsl:otherwise> ! <xsl:text>-</xsl:text> ! </xsl:otherwise> ! </xsl:choose> </xsl:template> *************** *** 176,179 **** --- 188,197 ---- </xsl:call-template> </xsl:variable> + <xsl:if test="$src = '.html'"> + <xsl:message> + <xsl:text>Unsupported property reference: </xsl:text> + <xsl:value-of select="$anchor"/> + </xsl:message> + </xsl:if> <xsl:text>{</xsl:text> <a href="{$src}#{$anchor}">
Received on Friday, 29 July 2005 14:33:26 UTC