aboutsummaryrefslogtreecommitdiffstats
path: root/docs/export-0.7.xsd
diff options
context:
space:
mode:
authorMormegil <mormegil@centrum.cz>2012-05-31 19:16:41 +0200
committerumherirrender <umherirrender_de.wp@web.de>2012-05-31 19:16:41 +0200
commit6c39a1714bc4d6581218baed375599bd48a0d4ae (patch)
treec256203841fc63a400fbea9fba9b4b81dc1110a4 /docs/export-0.7.xsd
parent912c30998749b7afdf91381adf8bf093edbb7594 (diff)
downloadmediawikicore-6c39a1714bc4d6581218baed375599bd48a0d4ae.tar.gz
mediawikicore-6c39a1714bc4d6581218baed375599bd48a0d4ae.zip
(bug 35264) Wrong type used for <ns> in export.xsd
Change-Id: I6d5a399d3fde4d70a8814c4f8d107765c8e3da96
Diffstat (limited to 'docs/export-0.7.xsd')
-rw-r--r--docs/export-0.7.xsd3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/export-0.7.xsd b/docs/export-0.7.xsd
index 1871a65876dc..c2656a320327 100644
--- a/docs/export-0.7.xsd
+++ b/docs/export-0.7.xsd
@@ -20,6 +20,7 @@
Version 0.7 adds a unique identity constraint for both page and
revision identifiers. See also bug 4220.
+ Fix type for <ns> from "positiveInteger" to "nonNegativeInteger" to allow 0
The canonical URL to the schema document is:
http://www.mediawiki.org/xml/export-0.7.xsd
@@ -121,7 +122,7 @@
<element name="title" type="string"/>
<!-- Namespace in canonical form -->
- <element name="ns" type="positiveInteger"/>
+ <element name="ns" type="nonNegativeInteger"/>
<!-- optional page ID number -->
<element name="id" type="positiveInteger" minOccurs="0"/>