You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is within the scope of this package, but currently it seems the DTD may not be correctly parsed, such as entity tags. For example, with this file as test.xml
Thanks for the report. Parsing DTD is within scope of this package. For now, I was trying to dump everything into the Node's value and figure out parsing later. As you pointed out, that doesn't quite work because it matches the wrong ending tag. I'll work on a fix.
Not sure if this is within the scope of this package, but currently it seems the DTD may not be correctly parsed, such as entity tags. For example, with this file as test.xml
using EzXML.jl or in browser, the footer part is parsed as "Writer: Donald Duck. Copyright: W3Schools."
but with XML.jl, they are verbatim strings
&writer; ©right;
in addition, glancing over doc2 it appears the DTD part may not be correctly parsed, e.g. doc2[2] is
i.e. it matches the next ">" instead of the closing ">" for "<!DOCTYPE"
XML.jl/src/raw.jl
Line 262 in 53d7ed3
Thanks!
The text was updated successfully, but these errors were encountered: