Copied to clipboard

Flag this post as spam?

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


  • Tommy Albinsson 121 posts 254 karma points
    Jan 20, 2011 @ 11:21
    Tommy Albinsson
    0

    Umbraco not converting characters to xml valid characters in 4.6.1

    When using for example the '&' character in a textstring property the character does not get converted to &.

    It seems to be in other places also, not just the TextString datatype. When getting the xml for /root it is complaining about "Look & Feel" in the following row.

    <faqQuestion id="1061" parentID="1060" level="4" writerID="0" creatorID="0" nodeType="1057" template="1054" sortOrder="0" createDate="2009-01-09T12:48:36" updateDate="2010-11-15T13:34:33" nodeName="Look & Feel" urlName="look-feel" writerName="Administrator" creatorName="Administrator" path="-1,1048,1059,1060,1061" isDoc="">

    The xml created by umbraco is not valid anymore because of this.

  • Comment author was deleted

    Jan 20, 2011 @ 11:46

    Hmm can't reproduce this one, is it also the case in the /app_data/umbraco.config file ?

  • Tommy Albinsson 121 posts 254 karma points
    Jan 20, 2011 @ 12:24
    Tommy Albinsson
    0

    Nope, in the umbraco.config file the nodeName is displayed with &amp;, but not when I get the xml in umbraco. There the character remains as a '&' which results in invalid xml for me all over. Very strange.

  • Tommy Albinsson 121 posts 254 karma points
    Jan 24, 2011 @ 12:55
    Tommy Albinsson
    0

    Had to downgrade back to Umbraco 4.5.2. Did not get the locator package to work, the xml remained invalid. Everything else seemed to work fine.

Please Sign in or register to post replies

Write your reply to:

Draft