(I tried to enter a bug but the PHP version selection drop down isn't working so I have entered here)
This documentation is very confusing as it refers to xml2-config as a directory and file interchangeably (it is a file) ...so I'm not clear whether to use the containing directory or the actual file in the switch