diff options
author | Holger Weiß <holger@zedat.fu-berlin.de> | 2011-06-06 00:54:55 +0200 |
---|---|---|
committer | Holger Weiß <holger@zedat.fu-berlin.de> | 2011-06-06 00:54:55 +0200 |
commit | 701ff48cc9561ce88e80c1de5a19f8d6cda790bb (patch) | |
tree | c593509703b962f6298cb76305bad0f701731bec /schemas/decisions.xsd | |
parent | e326ccac2c86fd6f54d900b5722149b75c6a981a (diff) | |
download | bcfg2-701ff48cc9561ce88e80c1de5a19f8d6cda790bb.tar.gz bcfg2-701ff48cc9561ce88e80c1de5a19f8d6cda790bb.tar.bz2 bcfg2-701ff48cc9561ce88e80c1de5a19f8d6cda790bb.zip |
All Genshi XML tags should be namespace-qualified
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.
Diffstat (limited to 'schemas/decisions.xsd')
0 files changed, 0 insertions, 0 deletions