What are the differences between XML and HTML mode when doing variable insertion? I can't find anything in the docs and couldn't find the answer after half-an-hour of looking at the source code.
See the issue I created for this for an explanation of what I want to do and the behavior https://github.com/thymeleaf/thymeleaf/issues/896
<EntityDescriptor
...
th:attr="entityID=${entityId},validUntil=${validUntil}">
...
</EntityDescriptor>
The resulting output is
<EntityDescriptor
...
entityID="what_the_entity_id_is" validuntil="correct_timestamp">
...
</EntityDescriptor>
Note that validUntil becomes validuntil. I've never seen this behavior before.
Does XML mode not support th:attr?. If so where can I find this to lower case in the source code or docs?