|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Our XML Schema for Genshi templates expected "choose" blocks to be
declared like this:
<py:choose test="$foo">
<when test="0"><!-- [...] --></when>
<when test="1"><!-- [...] --></when>
<otherwise><!-- [...] --></otherwise>
</py:choose>
However, we prefer to namespace-qualify not only the "choose" element,
but also the "when" and "otherwise" tags (for clarity, and because
that's how it's done in the Genshi documentation):
<py:choose test="$foo">
<py:when test="0"><!-- [...] --></py:when>
<py:when test="1"><!-- [...] --></py:when>
<py:otherwise><!-- [...] --></py:otherwise>
</py:choose>
This commit tells XML Schema validators to expect the latter style.
|