JuliaIO / LibExpat.jl

Julia interface to the Expat XML parser library
Other
9 stars 32 forks source link

needs update for string.data changes #57

Closed stevengj closed 7 years ago

stevengj commented 7 years ago

After JuliaLang/julia#19449, soon to be merged for Julia 0.6, you will no longer be able to access the raw bytes of a string via string.data; instead, do Vector{UInt8}(string). For example, this affects:

https://github.com/amitmurthy/LibExpat.jl/blob/57a412ba1d51da766baf41046bfe2eb24607118b/src/streaming.jl#L219

(Instead of length(txt.data), you can do sizeof(txt).)