On 06/22/2018 11:34 AM, Grundtvig Nielsen Niels wrote:
Just for information, I had to make the correction via the attributes panel in
XXE: I couldn't see the stray space in xml view.
Yes, I wrote you just that in my previous email.
I also opened a topic file in NotePad++, and was a little surprised to see Unix(LF) ANSI in the status
line. The header says <?xml version="1.0" encoding="UTF-8"?>) – is this
something I need to check?
I don't see why "Unix(LF) ANSI" in the status line of NotePad++ could be
a problem for us, XMLmind:
1) "Unix(LF)": An XML file may use CR+LF (DOS style) or simply LF (Unix
style) as its line separator and this, whatever the platform.
2) "ANSI": there is no obligation for an UTF-8 XML file to start with an
UTF-8 BOM (Byte Order Mark) just to be nice with text editors like
notepad or NotePad++.
See Extensible Markup Language (XML) 1.0 (Fifth Edition)
https://www.w3.org/TR/xml/
If NotePad++ cannot detect the presence of <?xml version="1.0"
encoding="UTF-8"?> and automatically switch to a proper "XML mode", I
strongly suggest to use another text editor to modify your XML files.
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support