Any difference between capital and lowercase XML / RDF tag names?
-
14-07-2021 - |
Question
I noticed that the install.rdf
files of firefox extensions have some capitalized tag names i.e. <Description>
.
Will it make any difference if it was lowercased i.e. <description>
?
The files are xml so I don't see the problem but just wondering.
Solution
Xml elements are case sensitive, and that it's just rdf:Description. So, yes, a well behaved program will fail if it can't find the information it needs.
This page states that you need to supply a valid install.rdf in your package, so my guess is that installation of the component will fail at some time if it can't find the minimal set of information.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow