How Can We Help?
Finding Spaces in XMLFinding Spaces in XML
What
It is possible to use XML several places in Pure to upload and synchronise data.
When you are building an XML you might experience the source ID or ID referring to another content is not recognised.
And when you examine the data, nothing seems to be wrong.
How
- This might be due to spaces. Sometimes it is visible to the eye if you take a close look. But this is not always the case.
- There are different tools to help you find hidden spaces. One of these is: https://www.branah.com/unicode-converter
- Copy the ID part from the XML that is not working e.g.: <parentOrganisationId>f01</parentOrganisationId>
- Add to the unicode text and see the result in UTF-8 text:
Hidden space:
No hidden space:
- Alternatively if you are watching the xml in a browser, you can normally also see the (hidden) space by selecting view page source in the browser.
More information
Note: Some of this information is for internal use only and might not be accessible.
Updated at July 27, 2024