Merge pull request #1831 from leekelleher/issue/U4-9678

Fixes U4-9678 - XPath Syntax Parser slowdown
This commit is contained in:
Claus
2017-09-12 10:19:36 +02:00
committed by GitHub

View File

@@ -60,7 +60,7 @@ namespace Umbraco.Core.Xml
return -1;
});
const string rootXpath = "descendant::*[@id={0}]";
const string rootXpath = "id({0})";
//parseable items:
var vars = new Dictionary<string, Func<string, string>>();