FIXED HEAVY BUG for parsing XML WMS GetCapabilities