NSXMLDocument: uncomplete documentation

  • Hi,

    It took me some time to figure out what was wrong with NSXMLDocument's
    + (Class)replacementClassForClass: method
    When subclassing NSXMLDocument, you can override this method to return
    you own customized NSXMLNode, Element, ... class.

    Unfortunately, this does not work if you open your XML documents using
    the NSXMLNodeCompactEmptyElement input option.
    In that case, the overriden method is properly called by the XML
    parser, but the result is completely ignored
    and your custom subclass is never used.

    HTH
previous month november 2007 next month
MTWTFSS
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
Go to today