Just a thought. Maybe we could do more checks on the href parameter when parsing (e.g. if a local file URL, check it exists) and raise an exception earlier, in addition to when formatting? - Andy