Comments in experiment XML break editor
Reported by Christopher Stawarz | October 5th, 2010 @ 12:16 PM | in 0.5.1 (closed)
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.
Comments and changes to this ticket
-
Christopher Stawarz March 31st, 2014 @ 10:26 AM
- Milestone set to 0.5.1
-
Christopher Stawarz May 1st, 2014 @ 11:07 AM
- Milestone cleared.
-
Christopher Stawarz May 15th, 2014 @ 10:09 AM
- 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.
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
MWorks Mac OS X/Cocoa Editor Application