Differences From Artifact [b8a81af19d]:
- File
tests/OFStringTests.m
— part of check-in
[9d79d92d9a]
at
2010-06-12 19:47:43
on branch trunk
— Several OFXMLParser improvements. See details.
* found* renamed to didFind*.
* Support for parsing CDATA.
* Handle comments with - correctly.
* Don't strip leading and trailing whitespaces in comments.
* Rename a few states for more clarity.
* More OFXMLParser tests. (user: js, size: 13899) [annotate] [blame] [check-ins using]
To Artifact [db370d10b8]:
- File tests/OFStringTests.m — part of check-in [67917b918a] at 2010-06-12 20:47:29 on branch trunk — Move a few classes and categories so they have their own files. (user: js, size: 13905) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
20 21 22 23 24 25 26 | static OFString *module = @"OFString"; static OFString* whitespace[] = { @" \r \t\n\t \tasd \t \t\t\r\n", @" \t\t \t\t \t \t" }; | | | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | static OFString *module = @"OFString"; static OFString* whitespace[] = { @" \r \t\n\t \tasd \t \t\t\r\n", @" \t\t \t\t \t \t" }; @interface EntityHandler: OFObject <OFStringXMLUnescapingDelegate> @end @implementation EntityHandler - (OFString*)didFindUnknownEntityNamed: (OFString*)entity { if ([entity isEqual: @"foo"]) return @"bar"; |
︙ | ︙ |