omeka/Omeka — Issue #150: Update schema to include file order
Author: jimsafley
Created: 2012-02-02 17:26:59+00:00
State: open
Labels: Major, Task

[This migration](https://github.com/omeka/Omeka/blob/master/application/migrations/20120112100000_addFileOrder.php) introduced file order to the Omeka data model. I suppose it is important enough to warrant an update to the [omeka-xml schema](http://omeka.org/schemas/omeka-xml/v4/omeka-xml-4-0.xsd). This would be a minor version to 4.

* Schema
* Copy omeka-xml schema [v4.0](http://omeka.org/schemas/omeka-xml/v4/omeka-xml-4-0.xsd) to [v4.1](http://omeka.org/schemas/omeka-xml/v4/omeka-xml-4-1.xsd)
* Update schema changelog
* Update xsd:schema version attribute to 4.1 (4.0 is erroneously set to 3.0)
* Add attribute to xsd:complexType FileType: ``
* Update [schema list](http://omeka.org/schemas/)
* Code
* Set `Omeka_Output_Xml_Abstract::XMLNS_SCHEMALOCATION` to http://omeka.org/schemas/omeka-xml/v4/omeka-xml-4-1.xsd
* Add order attribute to `Omeka_Output_Xml_File::_buildNode()`