42271: Open file input streams need to be closed at some point

By default, SAX and DOM parsers close the input source after
parsing. However, in SDK common we have a couple of custom parsers
using kxml, which does *not* close the input. Rather than fixing all
the call sites, this CL makes these parsers behave the same way as the
SAX/DOM parsers -- close the input at the end of parse().

Change-Id: I4c5588234865047c88380dc7835beac38817c09f
3 files changed