https://bugzilla.wikimedia.org/show_bug.cgi?id=24784

           Summary: define XML namespace for XML dumps
           Product: MediaWiki
           Version: 1.17-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Export/Import
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: brightb...@gmail.com


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.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to