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
Thank you for your appreciation. I'm currently very busy, but I'm trying to find some time to go ahead with this project, because it really deserves to be pushed.
You should be able to set a custom error handler when creating the cursor. Inside this handler, you can decide to ignore errors triggered by missing XML declarations, while throwing an exception (or doing whatever you want) in case of any other problem.
From @Ingrater on November 2, 2016 15:40
First off: Awesome project. Please keep going and get it merged into phobos!
In the wild its quite common to have files which use xml syntax but don't have a xml declaration:
It should be easy to parse such files. My current workaround is to manually stick a xml declaration to the front of the buffer before parsing it.
Copied from original issue: lodo1995/experimental.xml#36
The text was updated successfully, but these errors were encountered: