I just found that the FPC XML Reader has a nasty bug at least in FPC 2.0.4
this XML will cause av

<?xml version="1.0" encoding="UTF-8"?>
<DCPlusPlus>
</DCPlusPlus>

This is because of this code in XMLRead line 671 in Function ExpectProlog

 // Check for "(doctypedecl Misc*)?"    [28]
 if CheckForChar('D') then
 begin
   ExpectString('OCTYPE');         <<--- This raises an Exception
   // create the DTD object

Any other XML Processors that would work in Delphi and Lazarus/FPC ?

Razvan

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to