branch | v_0 |
changeset 23 | fa4a69895ea5 |
parent 15 | 177321664baf |
child 24 | 15b403e3ae6e |
22:9964a8ea10b5 | 23:fa4a69895ea5 |
---|---|
96 } |
96 } |
97 } |
97 } |
98 } |
98 } |
99 |
99 |
100 void characters(const string_t chars) { |
100 void characters(const string_t chars) { |
101 // There should be no null bytes in XML, 0x00 is invalid here. |
|
102 // No 0x00 should come here through the XML library, |
|
103 // but if any comes, the value is trimmed at the first null byte. |
|
101 currentValue << chars.c_str(); |
104 currentValue << chars.c_str(); |
102 } |
105 } |
103 |
106 |
104 public: |
107 public: |
105 |
108 |