*** empty log message ***
diff --git a/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/internal/model/StylesheetBuilder.java b/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/internal/model/StylesheetBuilder.java
index a5a8ec6..e3cc160 100644
--- a/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/internal/model/StylesheetBuilder.java
+++ b/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/internal/model/StylesheetBuilder.java
@@ -190,8 +190,8 @@
}
}
elementStack.pop();
- currentTemplate = null;
- currentCallTemplate = null;
+// currentTemplate = null;
+// currentCallTemplate = null;
}
private void configure(IDOMNode node, XSLElement element)
diff --git a/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/internal/validation/XSLValidator.java b/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/internal/validation/XSLValidator.java
index 533ce01..a6ea7e3 100644
--- a/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/internal/validation/XSLValidator.java
+++ b/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/internal/validation/XSLValidator.java
@@ -154,11 +154,6 @@
createMarker(report, template, IMarker.SEVERITY_ERROR, "Named templates cannot specify a mode");
checkParameters(report, template);
}
-// else if (template.getMatch() != null)
-// {// match template
-// if (template.getParameters().size() != 0)
-// createMarker(report, template, IMarker.SEVERITY_ERROR, "Only named templates may have parameters");
-// }
for (Template checkTemplate : stylesheetComposed.getTemplates())
{
@@ -235,7 +230,7 @@
{
createMarker(report, calledTemplate.getAttribute("name"), IMarker.SEVERITY_ERROR, "Named template '" + calledTemplate.getName() + "' is not available");
}
- else
+ /* else
{
Template namedTemplate = templateList.get(0);
for (Parameter calledTemplateParam : calledTemplate.getParameters())
@@ -274,7 +269,7 @@
}
}
}
- }
+ } */
}
}