Last modified: 2012-06-03 18:03:17 UTC
There are a few errors in export-0.4.xsd: * LogItemType is not a part of PageType. It is a own dump * "Image:" is used (Export.php use NS_IMAGE, too) * fields logtitle and params are missing in LogItemType * field text only used when there is deleted text Thanks.
Umherirrender, can you provide an example XML dump that doesn't validate when it should (or if the problem is that it validates when it shouldn't, that would also be helpful as a separate example). Thanks!
Try to validate a logdump (pages-logging.xml.gz from http://download.wikimedia.org/backup-index.html).
It looks like the 0.5 xsd file has added most of that stuff in r79877 -- anything else missing, other than the file itself being missing from its canonical location (bug 29819)?
When validate a xml log dump. I get the following error: Validation of the XML Document failed! Error message(s): The element 'mediawiki' in namespace 'http://www.mediawiki.org/xml/export-0.5/' has invalid child element 'logitem' in namespace 'http://www.mediawiki.org/xml/export-0.5/'. List of possible elements expected: 'http://www.mediawiki.org/xml/export-0.5/:page'. Line: 1 Column:1890
I have done the necessary change to the xsd with Gerrit change #9517
successfully merged