dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c04b58f
)
Made it so that our existing 0.4 exports validate
author
Rob Lanphier
<robla@users.mediawiki.org>
Sun, 9 Jan 2011 02:12:35 +0000
(
02:12
+0000)
committer
Rob Lanphier
<robla@users.mediawiki.org>
Sun, 9 Jan 2011 02:12:35 +0000
(
02:12
+0000)
docs/export-0.4.xsd
patch
|
blob
|
history
diff --git
a/docs/export-0.4.xsd
b/docs/export-0.4.xsd
index
1a554f8
..
3e7f2ea
100644
(file)
--- a/
docs/export-0.4.xsd
+++ b/
docs/export-0.4.xsd
@@
-91,6
+91,7
@@
<simpleContent>
<extension base="string">
<attribute name="key" type="integer" />
<simpleContent>
<extension base="string">
<attribute name="key" type="integer" />
+ <attribute name="case" type="mw:CaseType" />
</extension>
</simpleContent>
</complexType>
</extension>
</simpleContent>
</complexType>
@@
-160,6
+161,10
@@
<attribute ref="xml:space" use="optional" default="preserve" />
<!-- This allows deleted=deleted on non-empty elements, but XSD is not omnipotent -->
<attribute name="deleted" use="optional" type="mw:DeletedFlagType"/>
<attribute ref="xml:space" use="optional" default="preserve" />
<!-- This allows deleted=deleted on non-empty elements, but XSD is not omnipotent -->
<attribute name="deleted" use="optional" type="mw:DeletedFlagType"/>
+ <!-- This isn't a good idea; we should be using "ID" instead of "NMTOKEN" -->
+ <!-- However, "NMTOKEN" is strictest definition that is both compatible with existing -->
+ <!-- usage ([0-9]+) and with the "ID" type. -->
+ <attribute name="id" type="NMTOKEN"/>
</extension>
</simpleContent>
</complexType>
</extension>
</simpleContent>
</complexType>