This method ensures that the output String has only valid XML unicode characters as specified by the XML 1.
This method ensures that the output String has only valid XML unicode characters as specified by the XML 1.0 standard. For reference, please see the standard. This method will return an empty String if the input is null or empty.
The String whose non-valid characters we want to remove.
The in String, stripped of non-valid characters.
http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html
Converts absolute path to relative one if any of the source directories is it's parent.
Converts absolute path to relative one if any of the source directories is it's parent. If there is no parent directory, the path is returned unchanged (absolute).
absolute file path in canonical form