Hi, I have a kext that is passed XML data from userland. In the kext, I call OSUnserializeXML() to recreate the OSObject I need to process the data. This has all worked fine for awhile now, but in Panther a problem has crept up. The userland application is passing its entire plist dictionary to the kext. Most of the settings are relevant to the kext, but some are only relevant to the app. The app is a Cocoa app. We've found that if a user conducts certain actions within the application Cocoa adds this key/value pair to the app plist file: <key>NSNavBrowserPreferedColumnContentWidth</key> <real>186</real> When this key/value pair is present within the data our call to OSUnserializeXML() fails. All I have to go on is this information, which led me to the above key/value pair: Jan 8 09:27:17 localhost kernel: OSUnserializeXML: parse error near line 349 If I manually delete the pair from the app plist file, everything works correctly again. This seems like a bug in the OS, but maybe there's something I don't know about this. Has anyone else encountered this kind of problem with OSUnserializeXML()? Thanks, Eric Long ___________________________________________________________________________ Macintosh Software Engineer Aladdin Systems, Inc. http://www.aladdinsys.com 245 Westridge Drive, Watsonville, CA 95076 (831) 761-6200 x628 N 360 54.768 W 1210 46.990 _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Eric Long