Shane G added the comment:
This issue was created because I ran across a plist like this when parsing
entitlements in an IPA. I assume that this happened by some unusual step in
the toolchain when building the application.
To some other points:
* agreed lstrip()ing just the key would not
New submission from Shane G :
plistlib in Python 3.7.3 (and earlier) does not autodetect plist data as XML if
it contains whitespace before the "https://github.com/python/cpython/blob/3.7/Lib/plistlib.py#L493
--
messages: 346089
nosy: shaneg
priority: normal
severity: normal
s