Beispiel #1
0
        public void BugNotResolveWithLevel()
        {
            var x = new BxlParser().Parse(
                @"
test11 x=A
	test12 
		test14 x=B
			test15
				test16 x='${..x}${.x}C' y='${x}+'"
                );

            x = _xi.Interpolate(x);
            Console.WriteLine(x);
            Assert.AreEqual("ABC", x.Descendants("test16").First().Attribute("x").Value);
        }
		public void BugNotResolveWithLevel()
		{
			var x = new BxlParser().Parse(
@"
test11 x=A
	test12 
		test14 x=B
			test15
				test16 x='${..x}${.x}C' y='${x}+'"
				);
			x = _xi.Interpolate(x);
			Console.WriteLine(x);
			Assert.AreEqual("ABC", x.Descendants("test16").First().Attribute("x").Value);

		}