aboutsummaryrefslogtreecommitdiffstats
path: root/docs/export-0.7.xsd
diff options
context:
space:
mode:
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"/>