Copied to clipboard

Flag this post as spam?

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


  • dave 10 posts 30 karma points
    Jun 24, 2012 @ 22:35
    dave
    0

    umbraco 4.7.2 umbraco.presentation build error inlinexslt

    Hi.

    this is my first little bash with umbraco and i have the source code, however i get strange build errors:

    Error 11 Character '{', hexadecimal value 0x7b is illegal in an XML name. D:\Chrome Downloads\umbraco-4.7.2.-source\umbraco_a7dae59a1e55\umbraco\presentation\umbraco\templateControls\InlineXslt.xsltTemplate 7 45 umbraco.presentation

     

    this in-turn causes problems with:

    umbraco.presentation.templateControls.ItemRenderer: // add the XSLT expression into the full XSLT document, together with the needed parameters string xslt = string.Format(Resources.InlineXsltTemplate, xpathExpression, disableEscaping ? "yes" : "no", namespaceList, namespaceDeclaractions);

    this class wont build into the project, diue the the xslt template being invalid. I am sure i am just missing some kind of references or something here, but i have sorted quite a few build erros so far, but this one has me really stumped.thanks

  • dave 10 posts 30 karma points
    Jun 24, 2012 @ 22:36
    dave
    0

    the part of string.Format(Resources.InlineXsltTemplate    should read string.Format(Resources.InlineXslt

    unable to edit the post, this is not part of the error.

  • dave 10 posts 30 karma points
    Jun 24, 2012 @ 22:41
    dave
    0

    matching error, the root problem: 

    Error143The type or namespace name 'InlineXslt' does not exist in the namespace 'Resources' (are you missing an assembly reference?)D:\Chrome Downloads\umbraco-4.7.2.-source\umbraco_a7dae59a1e55\umbraco\presentation\umbraco\templateControls\ItemRenderer.cs23655umbraco.presentation

  • dave 10 posts 30 karma points
    Jun 24, 2012 @ 23:08
    dave
    0

    okay fixed this:    ItemRenderer should be in namespace umbraco.presentation.umbraco.templateControls

    not umbraco.presentation.templateControls   this then fixes all the references etc

Please Sign in or register to post replies

Write your reply to:

Draft