NativeXml
NativeXml copied to clipboard
Hi, there is a problem within the function tsdBufferWriter.write: A tByteArray is used for the WriteChunk call but the tByteArray has a limit of 32k. In my case, I have...
I'm reading value of node. The value is in russian. The codepage of XML file is 1251, ANSI encoding. The output looks like this: '������ ���.'
I change NativeXmlWin32Compat.pas, CodecUtilsWin32, EncodingUtils--->>Xml.Internal.CodecUtilsWin32, Xml.Internal.EncodingUtils and sdStreams will be Error of "[DCC Error] sdStreams.pas(269): E2037 Declaration of 'Read' differs from previous declaration". I change Integer to longint, Compile is...
add defined for version Delphi 10.3 Rio, Delphi 10.4 Sydney & Delphi 11.0 Alexandria
for fix PreserveWhiteSpace on load from file you must change check before call sdRigthTrim()
xml.WriteOnDefault := false; xml.WriteColor('mycolor',clBlack, clRed); //don't write mycolor
Add support to Delphi 10.1 Berlin
line 141: `Move(Pointer(Longint(FMemory) + FPosition)^, Buffer, Result);` must be `Move(Pointer(NativeUInt(FMemory) + UInt32(FPosition))^, Buffer, Result)` Line 218: `System.Move(Buffer, Pointer(Longint(FMemory) + FPosition)^, Count);` must be `System.Move(Buffer, Pointer(NativeUInt(FMemory) + UInt32(FPosition))^, Count);`
Updated several .html documentation files to fix code examples that incorrectly called TNativeXml.Create without a parameter which would cause error E2035: Not enough actual parameters on the Create. The NativeXml.pas...