-
Notifications
You must be signed in to change notification settings - Fork 29
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
load.xml can't load entity reference. #340
Comments
@vunhatchuong123 Thanks for reporting. We will investigate and come back to you. |
@vunhatchuong123 First a caveat; I'm part of the team working with APOC but I have not very much experience with XML in particular. I wonder if this is really a valid XML file. I tried to upload your XML data to two different online XML formatters, https://www.freeformatter.com/xml-formatter.html and https://jsonformatter.org/xml-formatter, to see how they behave compared to APOC. The first one errors with the similar error Best regards Louise Söderström Ps. I do see the usefulness of your request, myself having 2 Ö in my name. ;) |
I stopped using neo4j right now so I won't be able to help that much but I'll try my best. I think the problem comes from APOC not able to process Here's a preview of that file: <!ENTITY Ouml "Ö" ><!-- capital O, dieresis or umlaut mark -->
<!ENTITY Oslash "Ø" ><!-- capital O, slash -->
<!ENTITY Ugrave "Ù" ><!-- capital U, grave accent -->
<!ENTITY Uacute "Ú" ><!-- capital U, acute accent --> So because APOC fails to load |
Thanks for coming back with more information. We have made a conscious decision not to support DTD files of security reasons. I will see if we can improve our documentation around this so it is more clear it is not supported. |
It seems DBLP has moved to not relying on dtd entity definitions but directly using Anyway, I have opened a PR to add a note to the documentation. |
Docs have been merged :) |
Expected Behavior
File loaded and render
Ö
asÖ
Actual Behavior
Error: Neo.ClientError.Procedure.ProcedureCallFailed
How to Reproduce the Problem
Simple Dataset
Steps
load.xml
can't handle it.dblp.xml
withapoc.load.xml
.Versions
The text was updated successfully, but these errors were encountered: