[fpc-devel] XML Components
Michael Van Canneyt
michael at freepascal.org
Fri Nov 2 18:17:12 CET 2012
On Fri, 2 Nov 2012, Jeppe Græsdal Johansen wrote:
> Den 02-11-2012 18:04, Michael Van Canneyt skrev:
>>
>>
>> On Fri, 2 Nov 2012, Jeppe Græsdal Johansen wrote:
>>
>>>> and LF, to appear in data, both in literal and escaped forms.
>>>> In other words, XML is wrong technology to work with binary data, unless
>>>> it is encoded into textual form (Base64 or alike).
>>>>
>>>> Regards,
>>>> Sergei
>>>> _______________________________________________
>>>> fpc-devel maillist - fpc-devel at lists.freepascal.org
>>>> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>>> XML 1.1 allows anything down to #1, but the current parser doesn't seem to
>>> allow that. I guess that should solve most of the problems here.
>>>
>>> Specifically, TXMLDecodingSource.SkipUntil doesn't allow #1..#31 if
>>> FXML11Rules is true, which I think it should.
>>
>> But the document prolog specified XML version 1.0,
>> so these characters are not allowed.
>>
>> If of course Andrew creates the XML himself, he can specify 1.1 as the XML
>> version, then that may well be a solution.
> Yes, but changing the version still generates the same error, even though it
> shouldn't
That should be fixed of course, no argument there :-)
Michael.
More information about the fpc-devel
mailing list