Skip to end of metadata
Go to start of metadata

The Message Header indicates the sender and recipient of the NewReleaseMessage Message.

The sender and recipient are each defined by a unique DDEX Party ID (DPID). The Message Header also provides a creation date which is a timestamp of when the message was created. DPIDs can be obtained at URL.

Locations of XSDs

 Click here to expand...
The XML Schema files for all DDEX standards are available in two forms:

Zip Archive

Implementers can download a zip archive with all relevant XML Schema definitions from the same page where the relevant standard itself is available for download. 

These files are specifically designed to be downloaded and used when implementing the relevant DDEX standards.

<?xml version="1.0" encoding="UTF-8"?>
<ern:NewReleaseMessage xmlns:ern="http://ddex.net/xml/ern/351"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://ddex.net/xml/ern/351 file:release-notification.xsd" 
    MessageSchemaVersionId="ern/351">
    
  ...
</ern:NewReleaseMessage>

On ddex.net

Implementers can also access all XML Schema files from the appropriate subfolder from http://ddex.net/xml (e.g. http://ddex.net/xml/ern/351/ for Version 3.5.1 of the Release Notification Message Suite Standard (a.k.a. ERN).

It is these locations that users of the standard are expected to use in the top level tag of a DDEX message exchanged commercially:

<?xml version="1.0" encoding="UTF-8"?>
<ern:NewReleaseMessage xmlns:ern="http://ddex.net/xml/ern/351"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://ddex.net/xml/ern/351 http://ddex.net/xml/ern/351/release-notification.xsd" 
    MessageSchemaVersionId="ern/351">
    
  ...
</ern:NewReleaseMessage>

Order of XML Attributes

 Click here to expand...
The order of attributes within an XML tag are of no significance. For instance, the two XML snippets below are functionally equivalent, even though, in the first example the xs:schemaLocation  is located in the middle of the tag and in the second example xs:schemaLocation is the last element of the tag.

Please see examples below:

<?xml version="1.0" encoding="UTF-8"?>
<ern:NewReleaseMessage xmlns:ern="http://ddex.net/xml/ern/35" 
                       xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
                       xs:schemaLocation="http://ddex.net/xml/ern/35 http://ddex.net/xml/ern/35/release-notification.xsd" 
                       MessageSchemaVersionId="ern/35" 
                       LanguageAndScriptCode="en">
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ern:NewReleaseMessage xmlns:ern="http://ddex.net/xml/ern/35" 
                       xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" 
                       LanguageAndScriptCode="en"
                       MessageSchemaVersionId="ern/35" 
                       xs:schemaLocation="http://ddex.net/xml/ern/35 http://ddex.net/xml/ern/35/release-notification.xsd">

 


  • No labels