Skip to content

The example QTI item sample doesn't pass the schema definition #9

Description

@lakuri

The sample provided on the github repository fails the schema validation. This is because there is a MimeTypeDType validation on the type attribute of qti-stylesheet .
The regular expression being used is [\p{IsBasicLatin}-[()<>@,;:\\"/\[\]?=]]+/[\p{IsBasicLatin}-[()<>@,;:\\"/\[\]?=]]+
I tried by updating the regex formula and then validating XML. That validates the XML successfully.

Sample item : https://github.com/1EdTech/qti-examples/blob/master/qtiv3-examples/packaging/BBQsTest/id-be3cd3bdd3d4/order-mountains.xml
Specified schema definition: https://purl.imsglobal.org/spec/qti/v3p0/schema/xsd/imsqti_asiv3p0_v1p0.xsd
Failing xml:
<qti-stylesheet href="flickrMash.css" type="text/css"/>
image

Is the regular expression wrong or am I missing something?

Steps to reproduce:

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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