Element order question #227
Replies: 1 comment
-
I think it is related to the API server, I checked source code and I do not see any sort related array functions used. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm using this library (thank you for it!) for generating UBL invoices and I'm hitting some strange errors during validation process that I'm unsure if they come from me or the API server.
When I try to check the xml once it is generated, whenever I print it out, it shows correct visually, at least when I print it, but when I try to use API server to validate the XML format, for some reason I have been getting 'random' not always, cases when the order of the elements is not correct.
I remember there being cases when using php arrays without numeric keys can lead to order within the array to be different. I wonder if this is the case in this situation.
Has anyone faced this type of situation or knows a workaround if this is a problem from my side?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions