]> granicus.if.org Git - docbook-dsssl/commitdiff
Change the prose of the version attribute and descendants messages
authorNorman Walsh <ndw@nwalsh.com>
Fri, 15 Jan 2010 22:20:46 +0000 (22:20 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Fri, 15 Jan 2010 22:20:46 +0000 (22:20 +0000)
docbook/relaxng/tools/augment.xsl

index 3696db57b39d8cec44b7082296f3860e532e1836..25a863036ce37ffda8c3201539b60b4e6551a432 100644 (file)
@@ -97,7 +97,7 @@
              <s:rule context="db:{$name}">
                <s:assert test="not(.//db:{name(.)})">
                  <xsl:value-of select="name(.)"/>
-                 <xsl:text> must not occur in the descendants of </xsl:text>
+                 <xsl:text> must not occur among the children or descendants of </xsl:text>
                  <xsl:value-of select="$name"/>
                </s:assert>
              </s:rule>
        <s:pattern name="Root must have version">
          <s:rule context="/db:{$name}">
            <s:assert test="@version">
-             <xsl:text>The root element must have a version attribute.</xsl:text>
+             <xsl:text>If this element is the root element, it must have a version attribute.</xsl:text>
            </s:assert>
          </s:rule>
        </s:pattern>