summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2008-07-01 17:56:20 +0000
committerMarc-André Lureau <marcandre.lureau@gmail.com>2009-02-13 00:01:43 +0200
commit0e08a8031751f5e89d2b14e123c4d8563fed9d70 (patch)
tree7be0148a035628b37c38d2068662d248cb8fae02 /tools
parentad210b45cb0caf72c70faf735b2f03e57679e7b0 (diff)
doc-generator.xsl: when failing because a method/signal/property has no name, don't identify it by name :-)
Also, remove mis-pasted output of "@access" which is irrelevant 20080701175620-53eee-d630d20c60014101fd884b5badcaddbd7d5a67b6.gz
Diffstat (limited to 'tools')
-rw-r--r--tools/doc-generator.xsl24
1 files changed, 9 insertions, 15 deletions
diff --git a/tools/doc-generator.xsl b/tools/doc-generator.xsl
index 169ae20..ab39d10 100644
--- a/tools/doc-generator.xsl
+++ b/tools/doc-generator.xsl
@@ -386,11 +386,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
<xsl:if test="not(@name) or @name = ''">
<xsl:message terminate="yes">
- <xsl:text>ERR: missing @name on property </xsl:text>
- <xsl:value-of select="concat(../@name, '.', @name)"/>
- <xsl:text>: '</xsl:text>
- <xsl:value-of select="@access"/>
- <xsl:text>'&#10;</xsl:text>
+ <xsl:text>ERR: missing @name on a property of </xsl:text>
+ <xsl:value-of select="../@name"/>
+ <xsl:text>&#10;</xsl:text>
</xsl:message>
</xsl:if>
@@ -588,11 +586,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
<xsl:if test="not(@name) or @name = ''">
<xsl:message terminate="yes">
- <xsl:text>ERR: missing @name on method </xsl:text>
- <xsl:value-of select="concat(../@name, '.', @name)"/>
- <xsl:text>: '</xsl:text>
- <xsl:value-of select="@access"/>
- <xsl:text>'&#10;</xsl:text>
+ <xsl:text>ERR: missing @name on a method of </xsl:text>
+ <xsl:value-of select="../@name"/>
+ <xsl:text>&#10;</xsl:text>
</xsl:message>
</xsl:if>
@@ -809,11 +805,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
<xsl:if test="not(@name) or @name = ''">
<xsl:message terminate="yes">
- <xsl:text>ERR: missing @name on signal </xsl:text>
- <xsl:value-of select="concat(../@name, '.', @name)"/>
- <xsl:text>: '</xsl:text>
- <xsl:value-of select="@access"/>
- <xsl:text>'&#10;</xsl:text>
+ <xsl:text>ERR: missing @name on a signal of </xsl:text>
+ <xsl:value-of select="../@name"/>
+ <xsl:text>&#10;</xsl:text>
</xsl:message>
</xsl:if>