JuliaIO / LibExpat.jl

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

does not return non-unique attributes #103

Open tbenst opened 3 years ago

tbenst commented 3 years ago

for file https://gist.github.com/tbenst/d21ad93696131ce20d3cc6b4ec2deda3 there are 32 entries with attribute X, but following code only returns the 31 unique entries:

gpl_xml = open(gpl_path, "r") do io
    gpl_xml = read(io, String)
    xp_parse(gpl_xml)
end
x = parse.(Float64, gpl_xml[xpath"/PVGalvoPointList/PVGalvoPoint/@X"])
@asssert length(x) == 32