powered by Jive Software

Different behavior of PacketParserUtils.getParserFor overloads

Is there a particular reason that PacketParserUtils.getParserFor(InputStream) doesn’t skip the document start element like PacketParserUtils.getParserFor(Reader) does? This has the surprising behavior that the overloads for String/Reader behave different than the one with the InputStream.

IMO getParserFor(InputStream) should just pass the created Reader on the stream on to the next overload.

Sounds sensible. Thanks for reporting!