Commit Graph

27 Commits

Author SHA1 Message Date
Laurence Withers 857d0545da Don't expand entities in data when !expandEntities
If ctx->expandEntities is false, then don't expand entities in data.
Patch from Bob Dunlop, <rdunlop@guralp.com>.

I'm not 100% sure of the correctness of the behaviour of entity expansion in
general -- shouldn't expandEntities toggle between either doing an entity
content lookup and substituting the result in the data, or causing a specific
"there's an entity here" callback? At present it seems to toggle between
lookup/substitute and treating entities (including their leading ampersands) as
character data, which seems wrong. To be reviewed.
2009-01-13 13:39:43 +00:00
Laurence Withers 5fc84b759e Upgrade build system 2009-01-13 13:37:47 +00:00
Laurence Withers 18bccea876 Bump version 2007-02-10 14:18:19 +00:00
Laurence Withers faab426d86 Fix problem parsing entities; if we parsed an entity at the start of a content sequence,
immediately followed by some content, the entity's content was overwritten.
2007-02-10 14:18:02 +00:00
Laurence Withers 83a3fb9618 Bump version 2007-02-05 15:01:08 +00:00
Laurence Withers 8fa82464cc Another build system fix 2007-02-05 14:59:10 +00:00
Laurence Withers 9420a69a48 Bump version 2007-02-05 13:56:33 +00:00
Laurence Withers 7f90701d6c Fix build system, again 2007-02-05 13:54:45 +00:00
Laurence Withers 6960a90d77 Fix build system again 2007-02-05 13:51:20 +00:00
Laurence Withers a62f527fb9 Fix recursion in build_dir_tree 2007-02-05 13:38:49 +00:00
Laurence Withers d624814d78 Bump version 2007-02-05 13:12:22 +00:00
Laurence Withers 7fffb05eca Merge branch 'master' of tourmaline:git/libCStreamedXML 2007-02-05 13:05:49 +00:00
Laurence Withers 7c5dda4765 Bump version 2007-02-05 13:05:22 +00:00
Laurence Withers 1744e42270 Upgrade to new build system 2007-02-05 13:05:10 +00:00
Laurence Withers 57f1c10413 Bump version 2007-01-10 17:07:36 +00:00
Laurence Withers 171eb2c63d Merge branch 'master' of tourmaline:git/libCStreamedXML 2007-01-10 15:21:46 +00:00
Laurence Withers 372e355a73 Fix some memory corruption bugs in the dynamic list resizing code. 2007-01-09 14:02:09 +00:00
Laurence Withers ad6f784731 Fix handling of restart markers. csxml_reset() was clearing the state after encountering a restart
marker, leaving us in stream level after <![RESTART[, which meant that the closing bit of the marker
was interpreted as stream-level content. Also, the state machine now handles restart markers at high
level as well as low level; this simply means that a (false) error is not issued in the case of
perfectly well-formed Streamed XML containing restart markers.
2007-01-08 12:26:55 +00:00
Laurence Withers 699af08560 Bump version 2007-01-08 11:23:34 +00:00
Laurence Withers 58441639b4 Fix two bugs found by valgrind: freeParser() wasn't freeing the outer struct, and the check for
duplicate attribute names was overrunning the existing array.
2007-01-08 11:22:35 +00:00
Laurence Withers c081c94d72 Bump version 2007-01-05 12:05:25 +00:00
Laurence Withers 3905857e98 Update documentation. 2007-01-05 12:04:56 +00:00
Laurence Withers 0a6ca7f565 Add required variable 2007-01-05 12:04:25 +00:00
Laurence Withers e4aca335e2 Don't reset line/col on restart marker.
Check for duplicate attributes.
Bump version.
2007-01-05 11:54:57 +00:00
Laurence Withers e4f386c7f5 Bump version 2006-12-15 16:40:22 +00:00
Laurence Withers 076e58ccd7 Upgrade to new build system 2006-12-15 16:39:58 +00:00
Laurence Withers 8c470e4039 Initial import from libStreamedXML-1.2.7 2006-11-23 00:18:43 +00:00