W3C home > Mailing lists > Public > spec-prod@w3.org > January to March 2002

Re: Bugs in xmlspec.xsl

From: Norman Walsh <Norman.Walsh@Sun.COM>
Date: Thu, 14 Mar 2002 17:49:38 -0500
To: spec-prod@w3.org
Message-ID: <87elimzrwd.fsf@nwalsh.com>
/ Francois Yergeau <FYergeau@alis.com> was heard to say:
| It's a nice idea to add an 's' for multiple <loc>s, but it needs to say
| "count(loc)" in the 6th line to work right.

Fixed in CVS.

| 2) The various "divX/head" templates each have code to generate an <a
| name=".."> from the id of the div, instead of calling the nice "anchor"
| template.  Is there a reason for that?  A downside is that the <a> has
| name=".." only, not id=".."
|
| I tried calling "anchor" as follows:
|
|       <xsl:call-template name="anchor">
|         <xsl:with-param name="node" select=".."/>
|         <xsl:with-param name="conditional" select="0"/>
|       </xsl:call-template>
|
| with the expected results and no obvious ill effects.

Right. Also fixed in CVS. The anchor template is a relatively new invention :-)

                                        Be seeing you,
                                          norm

-- 
Norman.Walsh@Sun.COM   | The First Amendment is often inconvenient. But
XML Standards Engineer | that is besides the point. Inconvenience does
XML Technology Center  | not absolve the government of its obligation
Sun Microsystems, Inc. | to tolerate speech.--Justice Anthony Kennedy,
                       | in 91-155
Received on Thursday, 14 March 2002 17:50:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:19:11 GMT