-
Notifications
You must be signed in to change notification settings - Fork 30
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
ili2pg error xml document structures must start and end within the same entity #499
Comments
Did you check if the error - that the xml parser reports - is real? If so it would be a bug in ilivalidator. |
Tx for your quik anwer. Yes, I reviewed all the xtf, all the tags are well, in aditión the row and the column that indicates don´t have any difference with its predecessors and successors so it seems don´t have any sense. I attach some lines of the xtf. some extract from full xtf from line 1220300 to line 1220308: <LADM_COL_V3_1.LADM_Nucleo.col_unidadFuente><fuente_administrativa REF="1cdf5fc3-f41f-4450-853f-55a269056fe6"></fuente_administrativa></LADM_COL_V3_1.LADM_Nucleo.col_unidadFuente> TIA |
Use an xml checker to see if it is well formatted |
Can you try to delete the line / object in the file where it throws the error? |
Yes I can, I'm going to try it and share with you the result. |
In this try the xtf load correctly, I attach the log. At this point I don't understand anything, for me this don't have any sensse, if the xtf pass the validation, how can I identify what is going on whit the line I sended previusly?, if that line is deleted it mades the update runs with out any problem, the line don't seems to have any sintax or relational error. If you have any idea I appreciate that you share it with me. This librarys pretends to work in a unatended environment. |
Do you get the error when you just leave the line in the data file that creates the error?Then you would have identified the error, else the error is somewhere else.
|
Yes, when the line is in the xtf file the error arise. I all ready compared this line with the other of the same object, no structure differences on it. I really don´t know how can I find the error somewhere else. |
when I executes an update to postgres using ili2pg-4.9.1 and ili2pg-4.9.0 from a xtf that pass all the validations, the jar generates the error: xml document structures must start and end within the same entity.
I attach the logs generated, the xtf was the same and it is 1.023.282 KB
ili4.9.0.log
ili4.9.1.log
If you have any idea I thanks too much.
The text was updated successfully, but these errors were encountered: