Dear list,
I have a report from a user that they, all of a sudden, can't open an existing
document using my app without causing a crash. The document is made for and by
the app. And as far as I can glean from the description, it was working just
fine until one day (recently) it started causing
Apologies: I meant to complete the subject after writing the mail. Fixed now.
Martin
On 24, May, 2013, at 06:11 PM, Martin Hewitson
wrote:
> Dear list,
>
> I have a report from a user that they, all of a sudden, can't open an
> existing document using my app without causing a crash. The docu
On May 24, 2013, at 9:11 AM, Martin Hewitson wrote:
> The crash seems to be something to do with the XML file, but the file is
> >6000 lines long, so it's hard to validate it by hand
There are automatic validators, including an online one run by the W3C. I can’t
remember the URL but it should
Try loading your document into a DOM with either Xerces-C - actually C++ -
or Xerces - Java. It's not hard at all to write a program just a few lines
long to do that.
If your document is not conformant to XML, Xerces will complain.
If your format isn't that complex, it's not hard to write a DTD.
Great. I found an on-line validator
(http://www.w3schools.com/dom/dom_validate.asp) and it finds no errors.
Back to the crash log: do the reported errors mean that there's something wrong
with the XML file? I mean, this file is created by Core Data, by calling
-saveToURL:... in the NSPersistent
On 24 May 2013, at 18:31, Martin Hewitson wrote:
> Great. I found an on-line validator
> (http://www.w3schools.com/dom/dom_validate.asp) and it finds no errors.
>
> Back to the crash log: do the reported errors mean that there's something
> wrong with the XML file? I mean, this file is create
I have an NSOutlineView in a window. One of the columns uses an
NSPopUpButtonCell (a subclass actually). The menu contains 1 menu item, which
shows an NSView. This window also has an NSPopUpButton whose menu contains 1
menu item, which also shows an NSView. When I try using the same NSView in bo
On May 24, 2013, at 11:28 AM, Steve Mills wrote:
> I have an NSOutlineView in a window. One of the columns uses an
> NSPopUpButtonCell (a subclass actually). The menu contains 1 menu item, which
> shows an NSView. This window also has an NSPopUpButton whose menu contains 1
> menu item, which al
TextWrangler (http://www.barebones.com/) will tell you whether the document
contains characters that aren't permitted by the encoding when you do a
Save As.
Note that DTD validators are incapable of validating the "payload" of XML
elements (the free tags between the opening and closing tag) as wel
On May 24, 2013, at 13:40:34, Seth Willits
wrote:
> Although two menus won't be visible at the same time, you don't control when
> the view is placed into the menu's view and apparently Cocoa can't sort it
> out on its own. Using the same menu for both popups will work. Just set the
> same me
Sorry about noise. Just realised CFPreferences doesn't like
NSURL/CFURL.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)li
11 matches
Mail list logo