Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

Comments in experiment XML break editor

#15

The editor has problems with experiment XML that includes XML comments. Sometimes it crashes, sometimes it just stops working correctly.

The problem appears to be that the code expects every node in the XML file to be represented by a NSXMLElement instance, but comments are represented by NSXMLNode, the superclass of NSXMLElement.

Reported by Christopher Stawarz · October 5th, 2010 @ 12:16 PM

State: resolved
Milestone: 0.5.1
Assigned to: Christopher Stawarz Christopher Stawarz

Activity

  1. Christopher Stawarz
    Christopher Stawarz
    • State changed from new to open

    April 8th, 2011 @ 10:50 AM

  2. Christopher Stawarz
  3. Christopher Stawarz
  4. Christopher Stawarz
    Christopher Stawarz
    • State changed from open to resolved
    • Assigned user set to Christopher Stawarz
    • Milestone set to 0.5.1

    Fixed by just stripping all comments from the XML at load time. This lets you view a comment-laden file in the editor without modification; however, re-saving the file will cause all comments to be lost.

    May 15th, 2014 @ 10:09 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.