Skip to content

Potentially invalid use of xsi:type in schema file #129

Description

@SamuelJennings

Hi all,

I've been trying to validate xml files against the latest (kernel-4.4) DataCite schema definition using a Python package called xmlschema. I had some issues validating the schema file itself (metadata.xsd) due to the use of xsi:type in some of the declared elements.

I raised an issue with xmlschema here and the conclusion was that while the issue is generally ignored by most xml validators, the use of the xsi:type attribute is reserved for xml instances and not valid within schema definition files. They have labelled the issue as a bug and will modify their code base to not raise an error but they also suggest to change xsi:type to a simple type declaration in the schema file.

I'm not so experienced in xml myself so I'm just relaying the message. Best course of action is obviously up to you :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions