Menu

#265 PNG schema - additional metadata element in multipage schema

open
nobody
None
7
2011-05-27
2010-06-17
No

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?

Discussion

  • Allan Cunliffe

    Allan Cunliffe - 2010-06-17
    • summary: metadata PNG schema - additional element in multipage schema --> PNG schema - additional metadata element in multipage schema
     
  • Daniel Black

    Daniel Black - 2010-11-17
    • assigned_to: nobody --> matthewoliver
     
  • Daniel Black

    Daniel Black - 2011-01-18
    • priority: 5 --> 7
    • assigned_to: matthewoliver --> nobody
     
  • Daniel Black

    Daniel Black - 2011-01-18

    i'll look at this as part of xml overview

     
  • Daniel Black

    Daniel Black - 2011-01-18
    • assigned_to: nobody --> grooverdan
     
  • Allan Cunliffe

    Allan Cunliffe - 2011-05-27
    • assigned_to: grooverdan --> nobody
     

Log in to post a comment.