hidden/invisible character XML error
The error is:
XML Parsing Error: not well-formed
This is being caused by a hidden/invisible character in a some text that is coming from a database text field when creating an XML file.
The problem text/white space character is whatever is between the "d" and the word "shell" in the following text: "d shell d"
On this forum it has copied in as a visible space but when it is viewed in the Firefox page source or in the Firefox error message it does not appear and the text looks like this: "dshelld" BUT it still takes 2 cursor movements to go between the "d" and the "s" at the start and the "l" and the "d" at the end of the word so whatever it is is still there but hidden.
Is there any way I can find out what this white space actually is? It does not show up when I display hidden characters in DW, MS Word, or Open Office Write.
It is not recognised as a space i.e. " " with replace() but it is removed by: reReplaceNoCase(fieldReturn, "[[:space:]]", "","all"); unfortunately so is other essential white space.
So it is something in the character set "[[:space:]]" but what?
