NXP-10858: make DocumentPathCodec generate URLs without document