Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Source/NSXMLNode.m
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,8 @@ + (NSXMLNode *) _objectForNode: (xmlNodePtr)node
kind = NSXMLDTDKind;
break;
case XML_ATTRIBUTE_DECL:
cls = [NSXMLDTDNode class];
kind = NSXMLAttributeDeclarationKind;
// DTD nodes are not handled correctly and cause crashes. This just ignores them until a proper way to deal with them is found
return nil;
break;
case XML_ELEMENT_DECL:
cls = [NSXMLDTDNode class];
Expand Down