[master] making the path extension generated in xml, be optional