• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSXMLParser crashes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSXMLParser crashes


  • Subject: NSXMLParser crashes
  • From: Eric Scharff <email@hidden>
  • Date: Fri, 4 Jun 2004 14:40:52 -0700 (PDT)

Note that if I implement

- (void)parser:(NSXMLParser *)parser
foundAttributeDeclarationWithName:(NSString *)attributeName
forElement:(NSString *)elementName type:(NSString *)type
defaultValue:(NSString *)defaultValue
{
NSLog(@"Got attribute: %@", attributeName);
}

and

- (void)parser:(NSXMLParser *)parser
foundElementDeclarationWithName:(NSString *)elementName
model:(NSString *)model {
NSLog(@"Got element decl: %@", elementName);
}

I get the output

2004-06-04 15:40:36.711 ShowXMLTree[941] Got element decl:
project
2004-06-04 15:40:36.719 ShowXMLTree[941] Got element decl: name
2004-06-04 15:40:36.727 ShowXMLTree[941] Got element decl: ulink

right before the crash.

-Eric




__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: NSXMLParser crashes
  • Next by Date: Re: Why is "." a decimal number? (NSScanner question)
  • Previous by thread: NSXMLParser crashes
  • Next by thread: Mutable and Immutable Designs
  • Index(es):
    • Date
    • Thread