So where in the specs does it say that parsers must reject certain byte 
sequences between cdata tags excepting XML tags. 

If this is supported by specs it would help shape a viable solution. 



On Nov 2, 2012, at 9:01 AM, Sergei Gorelkin <sergei_gorel...@mail.ru> wrote:

> 02.11.2012 17:44, Mattias Gaertner пишет:
>> 
>> Sergei Gorelkin <sergei_gorel...@mail.ru> hat am 2. November 2012 um 14:32
>> geschrieben:
>>> In this case, the issue is not encoding, but literal ESC (#27) code used in
>>> data. XML specification
>>> does not allow codepoints below 32, except TAB,CR and LF, to appear in data,
>>> both in literal and
>>> escaped forms.
>> 
>> Actually the specification only defines legal characters and that processors
>> must accept them.
>> It does not say what to do with the other characters.
>> 
> Besides specification, there is a test suite containing lots of tests with 
> illegal characters and expecting them all to fail.
> 
> Regards,
> Sergei
> _______________________________________________
> fpc-devel maillist  -  fpc-devel@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to