Testing Branch Xena 5.0.0.
I'm currently working on documenting the XML schemas for the various file formats we support. I'm looking at .xena files and deriving a schema from the XML. In this case I am then comparing the derived schemas for png and multipage png.
The derived schema extract for png is:
<xsd:element name="png:png">
<xsd:complexType>
<xsd:attribute name="png:description" type="xsd:string" />
<xsd:attribute name="png:extension" type="xsd:string" />
</xsd:complexType>
</xsd:element>
As part of multipage file, the derived extract includes an additional element of <xsd:element name="png:metadata" type="xsd:string" />:
<xsd:element name="multipage:multipage">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="multipage:page">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="png:png">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="png:metadata" type="xsd:string" />
</xsd:sequence>
<xsd:attribute name="png:description" type="xsd:string" />
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
Should the PNG schema include the <xsd:element name="png:metadata" type="xsd:string" /> element or should the multipage schema have it removed?
i'll look at this as part of xml overview