Bug 108128

Summary: Octal numbers in magic match elements of type string in mime database source xml
Product: Specifications Reporter: Roman <freeslave93>
Component: GeneralAssignee: Allison Lortie (desrt) <desrt>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: faure
Version: unspecified   
Hardware: Other   
OS: All   
i915 platform: i915 features:

Description Roman 2018-10-02 14:08:01 UTC
Some match values of type string in freedesktop.org.xml contain octal numbers written as leading '\' and following octal digits. E.g. "\177ELF". There's no mention of this format in Shared MIME-info Database spec and seems not to be a part of XML format.
Comment 1 David Faure 2018-10-03 02:52:09 UTC
Fixed in git, but website not updated yet (I'll do it from the machine that has the setup, next week).
Comment 2 Roman 2018-10-03 07:40:27 UTC
(In reply to David Faure from comment #1)
> Fixed in git, but website not updated yet

I see.
I also suggest that you add a note whether xml entity decoding must appear before or after decoding escaping characters to avoid ambiguity.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.