0 Replies Latest reply on Jun 8, 2009 4:10 PM by scid sam

    LrXml.parseXml runs out of memory on empty node strings

    scid sam

      So in testing LrXml.parseXml I was attempting parse an empty element and Lightroom is reporting an out of memory condition


      xml = LrXml.parseXml('<root type="list"/>')


      what is the best way to trap this, is it possibly a recursion issue internally that could be helped with a LrRecursionGuard or should I just use LrErrors to catch the error that is thrown?


      Sam D