Skip to content

Commit

Permalink
fixed new attribute definition type
Browse files Browse the repository at this point in the history
  • Loading branch information
kepper committed Oct 31, 2018
1 parent 18c5b97 commit ff1c80f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/extractGuidelines.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -1237,6 +1237,9 @@
<xsl:when test="$dt/rng:choice[count(child::*) = 1]">
Value must conform to <span style="font-weight: 500;"><xsl:sequence select="local:resolveData($dt//rng:data[1])"/></span>.
</xsl:when>
<xsl:when test="$dt/rng:choice[count(child::*) = 2 and rng:ref[@name = 'data.BOOLEAN'] and rng:value]">
Value must conform to <span style="font-weight: 500;">data.BOOLEAN</span> or <span style="font-weight: 500;"><xsl:value-of select="$dt/rng:choice/rng:value/text()"/></span>.
</xsl:when>
<xsl:otherwise>
<xsl:message select="'ERROR: Unable to resolve the following datatype on attribute ' || $current.att/@ident"/>
<xsl:message terminate="yes" select="$dt"/>
Expand Down

0 comments on commit ff1c80f

Please sign in to comment.