KhronosGroup / KhronosGroup/glTF-Validator

Warn on dc:format

Open
#143 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Dart
Stars
470
Forks
77
PR merge metrics
No merged PRs in 30d

Description

When `KHR_xmp` is present with the Dublin Core namespace, using `"dc:format"` is not recommended. Using this value means that GLB <-> .gltf converters will need to understand and modify this value when converting between `"model/gltf+json"` and `"model/gltf-binary"`. I think it would be better for exporters to omit the value, and for the Validator to issue a warning if it is present.

/cc https://github.com/KhronosGroup/glTF-Sample-Models/pull/263#discussion_r436937041

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the validator logic for KHR_xmp and the Dublin Core namespace, since no file or test is named in the issue. Check how an existing dc:format value is handled, then verify that its presence produces a warning and that the warning covers both relevant MIME values.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.