tolerate empty tags in URI