There's a line in
iOS Tutorial: Open external files with your app that seems like it has an error, even though it's been there quite a while. The PListExtra declaration lines are given as follows:
#PlistExtra:<key>CFBundleDocumentTypes</key>
#PlistExtra:<array><dict><key>CFBundleTypeIconFiles</key><array/>
#PlistExtra: <key>CFBundleTypeName</key><string>CSV File</string>
#PlistExtra:<key>LSHandlerRank</key><string>Alternate</string>
#PlistExtra:<key>LSItemContentTypes</key><array>
#PlistExtra:<string>public.comma-separated-values-text</string>
#PlistExtra:</array></dict></array>
At the end of Line 2, isn't
<array/> an incorrect tag, and shouldn't it be totally removed? Maybe it has no effect on the HTML parsing, but if incorrect, it shouldn't be there.
CFBundleTypeIconFiles could be followed by an array of strings defining icons, but if the array is empty, as probably intended in the sample code, it seems that the lines should look like this instead:
#PlistExtra:<key>CFBundleDocumentTypes</key>
#PlistExtra:<array><dict><key>CFBundleTypeIconFiles</key>
#PlistExtra: <key>CFBundleTypeName</key><string>CSV File</string>
#PlistExtra:<key>LSHandlerRank</key><string>Alternate</string>
#PlistExtra:<key>LSItemContentTypes</key><array>
#PlistExtra:<string>public.comma-separated-values-text</string>
#PlistExtra:</array></dict></array>