Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • ak 24 posts 29 karma points
    May 04, 2011 @ 06:14
    ak
    0

    4.7 Upgrade - Xslt Errors

    Note: Upgraded from 4.6.x to 4.7
    Also: Does anyone know if 4.7 can run on .net 3.5?

     

    Website error:

    Error parsing XSLT file: \xslt\dropdownnavigation.xslt

    1. I've tried converting the xslt to a newer XSLT version http://blackpoint.dk/umbraco-workbench/tools/convert-xml-schema-to-45-.aspx?p=2

    2. Set config setting UseLegacyXSL to true.

    3. I've cleaned out the bin directory which has worked for others.

     

    When trying to save DropDownNavigation xslt in the Developer >> XSLT section

    Error occured

    System.OverflowException: Value was either too large or too small for an Int32.
    at System.Convert.ToInt32(Double value)
    at System.Double.System.IConvertible.ToInt32(IFormatProvider provider)
    at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
    at System.Xml.Xsl.Runtime.XmlQueryRuntime.ChangeTypeXsltArgument(XmlQueryType xmlType, Object value, Type destinationType)
    at System.Xml.Xsl.Runtime.XmlQueryContext.InvokeXsltLateBoundFunction(String name, String namespaceUri, IList`1[] args)
    at (XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, IList`1 parent)
    at (XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
    at Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
    at 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)

  • Eran Meir 401 posts 543 karma points
    May 04, 2011 @ 06:26
    Eran Meir
    1

    if you are you using the new xslt scheme than you need to set false on UseLegacyXSL

  • ak 24 posts 29 karma points
    May 04, 2011 @ 06:28
    ak
    0

    Thanks Eran,

    I've gone back to using the old version with UseLgacy = true and it's working now.

  • 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.

Please Sign in or register to post replies