Archive for January 12th, 2008

Updated EDRM XML XSD schema now available

An updated EDRM XML XSD schema is now available for download:

During validation testing, we found there is a “bounding” on the <Tag> record within a <Review> that limits you to one <Tag> record per <Review>. That was not the intention of the schema… the group intended that you could have multiple tags contained within the same review.

The schema has been patched to address this issue. The patch is a one-field change in the “ReviewType” complex type.

Old:

<xs:complexType name=”ReviewType”>

    <xs:sequence>

        <xs:element name=”Tag” type=”TagType” minOccurs=”0″ maxOccurs=”1“/>

    </xs:sequence>

    <xs:attribute name=”ReviewId” type=”xs:long”/>

</xs:complexType>

New:

<xs:complexType name=”ReviewType”>

    <xs:sequence>

        <xs:element name=”Tag” type=”TagType” minOccurs=”0″ maxOccurs=”unbounded“/>

    </xs:sequence>

    <xs:attribute name=”ReviewId” type=”xs:long”/>

</xs:complexType>

Note: This will not affect compliance of anyone who already has successfully validated their XML using the validation tool. If you have done your implementation with the one-tag-per-review limitation you will still check out fine with the updated schema.

The updated schema can be dropped into the root directory of your EDRM validation tool install in place of the existing EDRM.xsd file.

Please post comments about the EDRM XML materials on the EDRM Bulletin Board (registration required) or send them to mail@edrm.net

Thank you.