You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks, fixed. It was failing when constructing it as a URL, because Java will throw a MalformedUrlException if there is not a defined URL stream handler for it.
So the change is to catch those, and if the URL starts with a syntactically valid URI scheme, pass it as-is.
A Node that contains a telephone number will return a blank string, when parsed with absUrl.
As far as I can tell this is a violation of the contract, which states:
"An absolute URL if one could be made, or an empty string (not null) if the attribute was missing or could not be made successfully into a URL."
Here is a small jUnit test that reproduces the problem, that is it fails, when it should pass.
The text was updated successfully, but these errors were encountered: