From my understanding, the jsoup parser allows to work with relative links, as long as a base URI is specified when instanciating the parser.
Let's assume now that the document defines a base tag with an URI which is different from the URI of the page. This URI cannot be known a priori.
What is the behaviour of the parser? Does it detect automatically the tag and apply it to the whole document? Or do we have to parse the document a first time to detect the base tag, and then re-parse it with the detected value as base uri?
Thanks in advance Koj