Differences From Artifact [0c331b0934]:
- File
src/OFXMLParser.h
— part of check-in
[ed4e64fd32]
at
2012-12-03 01:17:04
on branch trunk
— OFXMLParser: Add configurable depth limit.
The default is 32. (user: js, size: 6993) [annotate] [blame] [check-ins using]
To Artifact [b980bea64d]:
- File src/OFXMLParser.h — part of check-in [89177dcd09] at 2012-12-20 16:42:52 on branch trunk — Remove dummy implementations for formal protocols. (user: js, size: 6912) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
23 24 25 26 27 28 29 | @class OFMutableArray; @class OFDataArray; @class OFStream; /*! * @brief A protocol that needs to be implemented by delegates for OFXMLParser. */ | < < < < | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | @class OFMutableArray; @class OFDataArray; @class OFStream; /*! * @brief A protocol that needs to be implemented by delegates for OFXMLParser. */ @protocol OFXMLParserDelegate <OFObject> #ifdef OF_HAVE_OPTIONAL_PROTOCOLS @optional #endif /*! * @brief This callback is called when the XML parser found processing * instructions. * |
︙ | ︙ | |||
54 55 56 57 58 59 60 | * @param prefix The prefix of the tag which just started or nil * @param ns The namespace of the tag which just started or nil * @param attributes The attributes included in the tag which just started or * nil */ - (void)parser: (OFXMLParser*)parser didStartElement: (OFString*)name | | | | 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | * @param prefix The prefix of the tag which just started or nil * @param ns The namespace of the tag which just started or nil * @param attributes The attributes included in the tag which just started or * nil */ - (void)parser: (OFXMLParser*)parser didStartElement: (OFString*)name prefix: (OFString*)prefix namespace: (OFString*)ns attributes: (OFArray*)attributes; /*! * @brief This callback is called when the XML parser found the end of a tag. * * @param parser The parser which found the end of a tag * @param name The name of the tag which just ended * @param prefix The prefix of the tag which just ended or nil * @param ns The namespace of the tag which just ended or nil */ - (void)parser: (OFXMLParser*)parser didEndElement: (OFString*)name prefix: (OFString*)prefix namespace: (OFString*)ns; /*! * @brief This callback is called when the XML parser found characters. * * In case there are comments or CDATA, it is possible that this callback is * called multiple times in a row. |
︙ | ︙ |