Closed beatrycze-volk closed 1 month ago
This is not a bug, but intended behavior. XML elements and attributes are always case-sensitive and METS defines this attribute as upper-case (see https://loc.gov/standards/mets/mets.xsd). So having a lower-case USE attribute in a METS file is actually a violation of the METS schema specification and should not be accepted by Kitodo.Presentation.
Description
The images are not displayed if
use
attribute is written lower case e.g:It works correctly for upper case writing e.g:
Reproduction
Steps to reproduce the behaviour:
Expected Behavior
The letter capitalization in attributes should not matter.
Additional Context
Code causing problems can be found in the class
MetsDocument
: