It would be useful to define an XML namespace for thze XML dump format. This would allow us to embed elements from that output in other XML documents easily.
There is already an XML schema defined for this output, adding a namespace would be trivial. It could even use the same URI: http://www.mediawiki.org/xml/export-0.4
In practice, this would mean that the top level <mediawiki> tag returned
by the exporter would become:
<mediawiki xmlns="http://www.mediawiki.org/xml/export-0.4" xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.4/ http://www.mediawiki.org/xml/export-0.4.xsd" version="0.4" xml:lang="de">
This should have no impact whatsoever on backward compatibility, except perhaps
for programs processing the XML using naive regular expressions. I believe it
would be ok to break those, since they rely on things that are never guaranteed
in XML.
Version: 1.17.x
Severity: enhancement