XML, Why is null char prohibited even in CDATA partitions?
It seems to be ending.
Any solution? Base64?
You can find your answer in this previous question:
Why are “control” characters illegal in XML 1.0?
Because it is no valid XML character , that is, it should cause a parsing error. This is probably due to historical reasons (strings with a null terminating character) and because of the XML-textual nature: anything that the Unicode-compatible editor can suppress is not recommended ...
" ", . , - , \0 .
; , , \0 , . - .
& #...; XML 1.1, CDATA. XML 1.0 . , , , .
Base64?
Yes. But if you process mostly large chunks of binary files, encapsulation in XML is probably not a smart choice.
Source: https://habr.com/ru/post/1702574/More articles:Many DB connections - objectVisual Studio 2008 Debugger Problem - debugginghow to include subdomains in MVC structure - phpPHP Exchange Server 2007 SMTP, NTLM Authentication Server - phpHow to get the best deal (spelling) on Yahoo BOSS? - yahoo-boss-apiAre circuits functions of a single liner? - functionGive and receive input / output of the java program from the source - javaHow to pass the execution of an expression created by an IQueryable to IEnumerable? - expressionBest WinForms user control layout with static and dynamic content? - c #Освобождается ли память, используемая file_get_contents(), когда она не назначена переменной? - phpAll Articles