mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 13:32:07 +01:00
7796b367cc
This PR aims to provide parseXrdLinkReferencesFor() method the ability to parse forward to the first START_ELEMENT tag.The HttpLookupMethodTest tests the HttpLookupMethod class by parsing String. This makes use of PacketParserUtils.getParserFor(String), which already does forward winding to reach START_ELEMENT. However when fetching endpoints from a remote host meta data, PacketParserUtils.getParserFor(InputStream) is used which doesn't do winding in any form. And thus, even though HttpLookupMethodTest tests pass, this implementation would crash while parsing remote host-meta. |
||
---|---|---|
.. | ||
java/org/jivesoftware/smack | ||
resources/org.jivesoftware.smack |