summaryrefslogtreecommitdiffstats
path: root/schemas
diff options
context:
space:
mode:
authorHolger Weiß <holger@zedat.fu-berlin.de>2011-06-06 00:54:55 +0200
committerHolger Weiß <holger@zedat.fu-berlin.de>2011-06-06 00:54:55 +0200
commit701ff48cc9561ce88e80c1de5a19f8d6cda790bb (patch)
treec593509703b962f6298cb76305bad0f701731bec /schemas
parente326ccac2c86fd6f54d900b5722149b75c6a981a (diff)
downloadbcfg2-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')
-rw-r--r--schemas/genshi.xsd3
1 files changed, 2 insertions, 1 deletions
diff --git a/schemas/genshi.xsd b/schemas/genshi.xsd
index 853b69c0d..d87c4a6e3 100644
--- a/schemas/genshi.xsd
+++ b/schemas/genshi.xsd
@@ -2,7 +2,8 @@
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:py="http://genshi.edgewall.org/"
xml:lang="en"
- targetNamespace="http://genshi.edgewall.org/">
+ targetNamespace="http://genshi.edgewall.org/"
+ elementFormDefault="qualified">
<xs:annotation>
<xs:documentation>
Genshi schema