Wondering if anyone else has seen this. We have a multi site instilation running 4.6.1 on .NET 4 using the legacy schema. We use the tags control on our central article repository to form loose relationships between content. This is across a 100 or so nodes. But in the last few weeks since our upgrade to 4.6.1 any XSLT routine that utilises getContentsWithTags returns Error parsing XSLT file.
With a little debug I can get at the full error but alas I can't work out what is causing the issue.
Any body out there have a clue what I've broken?
An error occurred during a call to extension
function 'getContentsWithTags'. See InnerException for a complete
description of the error. An error occurred during a call to
extension function 'getContentsWithTags'. See InnerException for a
complete description of the error. at System.Xml.Xsl.Runtime.XmlExtensionFunction.Invoke(Object extObj, Object[] args) at System.Xml.Xsl.Runtime.XmlQueryContext.InvokeXsltLateBoundFunction(String name, String namespaceUri, IList`1[] args)
at System.Xml.Xsl.CompiledQuery.Query.<xsl:template
match="/">(XmlQueryRuntime
{urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator
{urn:schemas-microsoft-com:xslt-debug}current, Double
{urn:schemas-microsoft-com:xslt-debug}position, Double
{urn:schemas-microsoft-com:xslt-debug}last, IList`1
{urn:schemas-microsoft-com:xslt-debug}namespaces) in
C:\Inetpub\wwwroot\j24portals_461\xslt\EducationSearch.xslt:line 436
at
System.Xml.Xsl.CompiledQuery.Query.<xsl:apply-templates>(XmlQueryRuntime
{urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator , Double ,
Double ) at System.Xml.Xsl.CompiledQuery.Query.Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime) at System.Xml.Xsl.CompiledQuery.Query.Execute(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument,
XmlResolver dataSources, XsltArgumentList argumentList,
XmlSequenceWriter results) at
System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver
dataSources, XsltArgumentList argumentList, XmlWriter writer) at
System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input,
XsltArgumentList arguments, XmlWriter results, XmlResolver
documentResolver) at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, TextWriter results) at umbraco.macro.GetXsltTransformResult(XmlDocument macroXML, XslCompiledTransform xslt, Dictionary`2 parameters) at umbraco.macro.loadMacroXSLT(macro macro, MacroModel model, Hashtable pageElements)
Thanks for your reply, the routines this call features in are fairly large but I can drop over the template which calls this function. As I said in my post all these functions had been working fine up until the week we upgraded to 4.6.2 although it could also be data entry that's 'killed' it.
Anyone have any ideas what could cause "GetContentsWithTags" to fail site wide. As I said in my original post this function fails regardless of where I call it or how. Even if I write an XSLT that consists of nothing but
Error in 'getContentsWithTags'
Wondering if anyone else has seen this. We have a multi site instilation running 4.6.1 on .NET 4 using the legacy schema. We use the tags control on our central article repository to form loose relationships between content. This is across a 100 or so nodes. But in the last few weeks since our upgrade to 4.6.1 any XSLT routine that utilises getContentsWithTags returns Error parsing XSLT file.
With a little debug I can get at the full error but alas I can't work out what is causing the issue.
Any body out there have a clue what I've broken?
An error occurred during a call to extension function 'getContentsWithTags'. See InnerException for a complete description of the error.An error occurred during a call to extension function 'getContentsWithTags'. See InnerException for a complete description of the error.
at System.Xml.Xsl.Runtime.XmlExtensionFunction.Invoke(Object extObj, Object[] args)
at System.Xml.Xsl.Runtime.XmlQueryContext.InvokeXsltLateBoundFunction(String name, String namespaceUri, IList`1[] args)
at System.Xml.Xsl.CompiledQuery.Query.<xsl:template match="/">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current, Double {urn:schemas-microsoft-com:xslt-debug}position, Double {urn:schemas-microsoft-com:xslt-debug}last, IList`1 {urn:schemas-microsoft-com:xslt-debug}namespaces) in C:\Inetpub\wwwroot\j24portals_461\xslt\EducationSearch.xslt:line 436
at System.Xml.Xsl.CompiledQuery.Query.<xsl:apply-templates>(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator , Double , Double )
at System.Xml.Xsl.CompiledQuery.Query.Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
at System.Xml.Xsl.CompiledQuery.Query.Execute(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlSequenceWriter results)
at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer)
at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, XmlWriter results, XmlResolver documentResolver)
at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, TextWriter results)
at umbraco.macro.GetXsltTransformResult(XmlDocument macroXML, XslCompiledTransform xslt, Dictionary`2 parameters)
at umbraco.macro.loadMacroXSLT(macro macro, MacroModel model, Hashtable pageElements)
Hi Drew
Could you also post the XSLT that's causing this error? I think it will be more easy to advise you if you post this too :-)
/Jan
Hi Jan,
Thanks for your reply, the routines this call features in are fairly large but I can drop over the template which calls this function.
As I said in my post all these functions had been working fine up until the week we upgraded to 4.6.2 although it could also be data entry that's 'killed' it.
Hi everyone,
Anyone have any ideas what could cause "GetContentsWithTags" to fail site wide. As I said in my original post this function fails regardless of where I call it or how. Even if I write an XSLT that consists of nothing but
<xsl:for-each select="tagsLib:getContentsWithTags('Apple')"/><xsl:value-of select="@id"/>
</xsl:for-each>
I will still recieve the above error. Like I said any ideas would be appreciated =)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.