Fix #173 Treat null relative URI (document URI) like a variable to be auto-assigned on create