Working XML validation