renggli / dart-xml

Lightweight library for parsing, traversing, and transforming XML in Dart.
http://pub.dartlang.org/packages/xml
MIT License
223 stars 52 forks source link

Entity decoding broken if it crosses a chunk #140

Closed renggli closed 2 years ago

renggli commented 2 years ago

In XML streams, if entities happen to cross a chunk, the decoding is missed.

Example:

Stream.ofIterable(['&', 'amp', ';'])