Copied to clipboard

Flag this post as spam?

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


  • R. Haluk ÖNGÖR 15 posts 35 karma points
    Jun 25, 2010 @ 16:56
    R. Haluk ÖNGÖR
    0

    GetMedia output missing it's closing tag. v4.5

    Hi everyone,

    This is what i get from getMedia printed using xsl:copy-of

     

    <img id="1073" version="8c9418b1-6542-44d4-b4a2-ef00b058acd3" parentid="-1" level="1" writerid="0" nodetype="1032" template="0"sortorder="47" createdate="2010-06-25T14:08:15"

         updatedate="2010-06-25T14:19:21" nodename="Nav-About" urlname="nav-about" writername="Administrator"nodetypealias="Image" path="-1,1073">

      <umbracofile>/media/34/who-we-are.gif</umbracofile>

      <umbracowidth>65</umbracowidth>

      <umbracoheight>20</umbracoheight>

      <umbracobytes>309</umbracobytes>

      <umbracoextension>gif</umbracoextension>

     

    No closing tag though. Can anyone confirm this as a bug?

     

  • Morten Bock 1867 posts 2140 karma points MVP 2x admin c-trib
    Jun 25, 2010 @ 19:32
    Morten Bock
    0

    Seems to be working fine for me, tho I have one of the 4.1 RC builds. Will try with a clean 4.5.

  • Morten Bock 1867 posts 2140 karma points MVP 2x admin c-trib
    Jun 25, 2010 @ 19:53
    Morten Bock
    0

    Just tried it in a clean 4.5, and I seem to get the correct output:

    <Image id="1052" version="0d0a7a9f-e0a9-4fe7-9e0e-39fce7e7acbc" parentID="-1" level="1" writerID="0" nodeType="1032" template="0" sortOrder="36" createDate="2010-06-25T19:46:54" updateDate="2010-06-25T19:46:57" nodeName="test" urlName="test" writerName="Administrator" nodeTypeAlias="Image" path="-1,1052">
    <umbracoFile>/media/19/chrysanthemum.jpg</umbracoFile>
    <umbracoWidth>1024</umbracoWidth>
    <umbracoHeight>768</umbracoHeight>
    <umbracoBytes>879394</umbracoBytes>
    <umbracoExtension>jpg</umbracoExtension>
    </Image>

     

  • R. Haluk ÖNGÖR 15 posts 35 karma points
    Jun 28, 2010 @ 09:14
    R. Haluk ÖNGÖR
    0

    Well thanks, may be it's an xslt visualizer issue. I'll check and report back...

  • R. Haluk ÖNGÖR 15 posts 35 karma points
    Jun 28, 2010 @ 09:16
    R. Haluk ÖNGÖR
    0

    Now I've noticed your post returned an image tag while mine returned img. I wonder how did this happen??

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jun 28, 2010 @ 09:19
    Dirk De Grave
    0

    it's indeed a xslt visualizer issue, seen this before when people were trying to get GetMedia to work... Can you report on Codeplex please?

    If you use GetMedia through a template, it'll show the correct xml, the xslt visualizer won't (for the moment)

    Cheers,

    /Dirk

  • Kim Andersen 1447 posts 2196 karma points MVP
    Jun 28, 2010 @ 09:22
    Kim Andersen
    0

    Sounds weird. I'm getting the same XML as Morten, on a clean v. 4.5 with Runway installed. And it works fine in the XSLT Visualizer as well.

    Can you show us the XSLT that you are using? Maybe someone can see something from that.

    /Kim A

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jun 28, 2010 @ 09:46
    Dirk De Grave
    0

    Just a quick test for email notification!

Please Sign in or register to post replies

Write your reply to:

Draft