- From: Jonathan Marsh via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 16 Mar 2007 17:24:58 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/wsdl20 In directory hutz:/tmp/cvs-serv11387/wsdl20 Modified Files: wsdldefs.xsl wsdl20-specs.xml Log Message: Fixed undefined &prefix; problem. Slight, hopefully benign, simplifications in XSL and XML. Index: wsdldefs.xsl =================================================================== RCS file: /sources/public/2002/ws/desc/wsdl20/wsdldefs.xsl,v retrieving revision 1.12 retrieving revision 1.13 diff -C 2 -d -r1.12 -r1.13 *** wsdldefs.xsl 13 Nov 2005 21:11:19 -0000 1.12 --- wsdldefs.xsl 16 Mar 2007 17:24:55 -0000 1.13 *************** *** 72,96 **** <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"> ! <xsl:with-param name="component" select="$component"/> ! </xsl:call-template> ! </xsl:variable> ! <xsl:variable name="anchor"> ! <xsl:call-template name="component-anchor"> ! <xsl:with-param name="component" select="$component" /> ! </xsl:call-template> ! </xsl:variable> ! <a href="{$src}#{$anchor}"> ! <xsl:value-of select="$component" /> ! </a> ! </xsl:when> ! <xsl:otherwise> ! <xsl:text>-</xsl:text> ! </xsl:otherwise> </xsl:choose> </xsl:template> --- 72,95 ---- <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"> ! <xsl:with-param name="component" select="$component"/> ! </xsl:call-template> ! </xsl:variable> ! <xsl:variable name="anchor"> ! <xsl:call-template name="component-anchor"> ! <xsl:with-param name="component" select="$component" /> ! </xsl:call-template> ! </xsl:variable> ! <a href="{$src}#{$anchor}"> ! <xsl:value-of select="$component" /> ! </a> ! </xsl:when> ! <xsl:otherwise> ! <xsl:text>-</xsl:text> ! </xsl:otherwise> </xsl:choose> </xsl:template> *************** *** 98,112 **** <xsl:template name="component-src"> <xsl:param name="component"/> ! <xsl:variable name="c" select="normalize-space($component)"/> ! <xsl:variable name="src" select="document('wsdl20-defs.xml')/defs/spec/compdef[@comp=$c]/../@src"/> <xsl:if test="string-length($src) = 0"> <xsl:message> <xsl:text>Wrong component reference: </xsl:text> ! <xsl:value-of select="$c"/> </xsl:message> </xsl:if> <xsl:call-template name="map-src"> <xsl:with-param name="src" select="$src"/> ! </xsl:call-template> </xsl:template> --- 97,110 ---- <xsl:template name="component-src"> <xsl:param name="component"/> ! <xsl:variable name="src" select="document('wsdl20-defs.xml')/defs/spec/compdef[@comp=$component]/../@src"/> <xsl:if test="string-length($src) = 0"> <xsl:message> <xsl:text>Wrong component reference: </xsl:text> ! <xsl:value-of select="$component"/> </xsl:message> </xsl:if> <xsl:call-template name="map-src"> <xsl:with-param name="src" select="$src"/> ! </xsl:call-template> </xsl:template> Index: wsdl20-specs.xml =================================================================== RCS file: /sources/public/2002/ws/desc/wsdl20/wsdl20-specs.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -C 2 -d -r1.5 -r1.6 *** wsdl20-specs.xml 9 Feb 2007 20:58:16 -0000 1.5 --- wsdl20-specs.xml 16 Mar 2007 17:24:55 -0000 1.6 *************** *** 22,25 **** --- 22,26 ---- <!ENTITY % entities SYSTEM "entities.dtd" > + <!ENTITY prefix "immaterial"> %entities; *************** *** 27,31 **** <specs> ! <spec src="wsdl20.xml" target="&w3c-designation-part1;" uri="http://www.w3.org/TR/2006/CR-wsdl20-20060327"/> ! <spec src="wsdl20-adjuncts.xml" target="&w3c-designation-part2;" uri="http://www.w3.org/TR/2006/CR-wsdl20-adjuncts-20060327"/> </specs> --- 28,32 ---- <specs> ! <spec src="wsdl20.xml" target="&w3c-designation-part1;"/> ! <spec src="wsdl20-adjuncts.xml" target="&w3c-designation-part2;"/> </specs>
Received on Friday, 16 March 2007 17:25:03 UTC