1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 20:47:57 +01:00
Smack/smack-core/src
Aditya Borikar 7796b367cc Position parser at START_ELEMENT before parsing
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.
2020-08-07 15:01:53 +05:30
..
integration-test Mark code from the old integration-test dir as migration candidates 2020-04-09 15:14:09 +02:00
main Position parser at START_ELEMENT before parsing 2020-08-07 15:01:53 +05:30
test Add support for HTTP lookup method through xep-0156 2020-06-25 21:10:43 +05:30
testFixtures/java/org/jivesoftware/smack Rename XmlUnitUtils to XmlAssertUtil 2020-06-14 16:53:21 +02:00