protected override void Compile (Compiler c)
{
+ if (c.Debugger != null)
+ c.Debugger.DebugCompile (c.Input);
+
+ c.CheckExtraAttributes ("for-each", "select");
+
c.AssertAttribute ("select");
select = c.CompileExpression (c.GetAttribute ("select"));
ArrayList sorterList = null;
public override void Evaluate (XslTransformProcessor p)
{
- if (children == null)
- return;
+ if (p.Debugger != null)
+ p.Debugger.DebugExecute (p, this.DebugInput);
+
+ // This intelligent optimization causes poor compatibility bug shown in bug #457065
+// if (children == null)
+// return;
XPathNodeIterator iter = sortEvaluator != null ?
sortEvaluator.SortedSelect (p) :