mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
0e2a577b42
This commit improves the `canParse()` method to check that the file is valid XML and has the expected root node. Previously it was relying upon a regular expression to do this. PR Close #35793