summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Cfg.py
diff options
context:
space:
mode:
authorHolger Weiß <holger@zedat.fu-berlin.de>2011-06-06 00:54:55 +0200
committerSol Jerome <sol.jerome@gmail.com>2011-06-14 12:36:46 -0500
commitce4a4aa66d30d3c37098b37a8e5fd3fdbabed832 (patch)
treec593509703b962f6298cb76305bad0f701731bec /src/lib/Server/Plugins/Cfg.py
parent70d480f2a77902347601596a7ab8f606a4b4290d (diff)
downloadbcfg2-ce4a4aa66d30d3c37098b37a8e5fd3fdbabed832.tar.gz
bcfg2-ce4a4aa66d30d3c37098b37a8e5fd3fdbabed832.tar.bz2
bcfg2-ce4a4aa66d30d3c37098b37a8e5fd3fdbabed832.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 'src/lib/Server/Plugins/Cfg.py')
0 files changed, 0 insertions, 0 deletions