Last modified: 2012-07-18 16:44:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T39249, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37249 - validate export-demo.xml against current export.xsd
validate export-demo.xml against current export.xsd
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Unit tests (Other open bugs)
unspecified
All All
: Unprioritized normal with 1 vote (vote)
: ---
Assigned To: Umherirrender
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-31 17:38 UTC by Umherirrender
Modified: 2012-07-18 16:44 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Umherirrender 2012-05-31 17:38:52 UTC
There are some mismatched between the xml generated by Export.php and the current export.xsd.

Maybe there should be a validate test, that check the export xml against the current export.xsd.

There are already export tests, which maybe than need a new step.

Thanks.
Comment 1 Umherirrender 2012-06-10 18:47:01 UTC
commited a start with Gerrit change #10763
Comment 2 Umherirrender 2012-06-30 08:00:11 UTC
rephrase, because adding this validation to all dump tests will increase the time which a unit test runs dramatically.

Having a validation for the export-dema.xml is necessary, because that file will go out of sync and than there is no need for a demo. Also some IDEs are checking the xsd of xmls in the workspace.
Comment 3 Umherirrender 2012-07-18 16:44:46 UTC
successfully merged

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links