Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

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:

Code Block
languagehtml/xml
<?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">
Code Block
languagehtml/xml
<?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">