Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Illegal chars on import narrative from DPF (XML) #5112

Open
IanMayo opened this issue May 20, 2021 · 0 comments
Open

Illegal chars on import narrative from DPF (XML) #5112

IanMayo opened this issue May 20, 2021 · 0 comments

Comments

@IanMayo
Copy link
Member

IanMayo commented May 20, 2021

An analyst created a Debrief plot, containing track and narrative data. He saved and closed the plot.

When he re-opened the plot, he got XML warnings, like:
Character reference "&#11" is an invalid XML character.

The document had around 200 instances of this character sequence.

Using a text editor he replaced those instances with a space, and the file loaded correctly.

It's a surprise that a new issue arose with XML import, since it's relatively mature code. The change in data may have been associated with the introduction of Pepys into the tool-chain.

Debrief should not save invalid XML characters to file when it saves to DPF.

I don't think we can overcome the issue on import, since the warning is probably thrown in the low-level XML parsing, before control gets to our handlers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant