[Mono-list] How often is the class status page updated?

Ben Maurer bmaurer@users.sourceforge.net
19 Jun 2003 16:43:59 -0400


On Thu, 2003-06-19 at 16:38, Piers Haken wrote:

> > Sometimes that is because we use elements rather than 
> > attributes, for example:
> > 
> > <class>
> > 	<name>Console</name>
> > 	<members>
> > 		...
> > 	</members>
> > </class>
> > 
> > Can be made shorter by doing <class name="Console">.
> 
> There are no (zero) instances where corcompare generates an element
> where it could use an attribute.

                  <method name="get_Level()" error="warning">
                    <warnings>
                      <warning text="Should be virtual" />
                    </warnings>
                  </method>
Would be a lot better as:

	<method name="get_Level()" warning="Should be virtual" />

> > 
> > > Can you explain what "doubling back" means in the context 
> > of an XSTL 
> > > tranform?
> > 
> 
> There are no (zero) instances, in corcompare.xsl where all the children
> have to be checked before an element can be produced.
	<xsl:template name="toggle">
		<xsl:choose>
			<xsl:when test="not(@presence) and .//*[@missing_total or @todo_total
or @extra_total or @warning_total or @error or @presence] and
local-name() != 'assembly'">
				<img src="cm/tp.gif" class="t"/>
			</xsl:when>
			<xsl:when test="not(@presence) and .//*[@missing_total or @todo_total
or @extra_total or @warning_total or @error or @presence]">
				<img src="cm/tm.gif" class="t"/>
			</xsl:when>
			<xsl:otherwise>
				<img src="cm/tb.gif"/>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>

That is called for every + or - box.