Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort order for VSM elements does not match XSD desciption #22

Open
tsodring opened this issue Jun 8, 2021 · 0 comments
Open

Sort order for VSM elements does not match XSD desciption #22

tsodring opened this issue Jun 8, 2021 · 0 comments

Comments

@tsodring
Copy link
Collaborator

tsodring commented Jun 8, 2021

When validating arkivstruktur.xml with VSM data, there is a validation problem because the order in arkivstruktur.xml does not match the order defined in vnd-email-v1.xsd.

vnd-email-v1.xsd contains the following:

 <xs:sequence>
    <xs:element name="message-id" type="xs:string" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Message-ID of archived email.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="thread" type="xs:string" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Message-ID of first or previous email in email thread.</xs:documentation>
      </xs:annotation>
    </xs:element>
  </xs:sequence>`

but arkivstruktur.xml contains:

<virksomhetsspesifikkeMetadata>
            <vnd-email-v1:vnd-email-v1>
              <vnd-email-v1:thread>&lt;[email protected]&gt;</vnd-email-v1:thread>
              <vnd-email-v1:message-id>&lt;[email protected]&gt;</vnd-email-v1:message-id>
            </vnd-email-v1:vnd-email-v1>
          </virksomhetsspesifikkeMetadata>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant