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
Because of the way SimpleXML places significance on the tag name and uses it as an index for elements, elements with the same name cause the parsed result's structure to not match up to the parameters.
Because of the way
SimpleXML
places significance on the tag name and uses it as an index for elements, elements with the same name cause the parsed result's structure to not match up to the parameters.For instance, the following structure:
(correctly) gets interpreted as the following:
With multiple
single
elements:the generated output instead looks like:
This causes parameter validation to fail.
For the time being, the mitigation is to use unique names for the
single
elements, e.g.single-0
,single-1
.The text was updated successfully, but these errors were encountered: