Delphi Pages Forums

Delphi Pages Forums (http://www.delphipages.com/forum/index.php)
-   General (http://www.delphipages.com/forum/forumdisplay.php?f=2)
-   -   [SOLVED] Delphi XML : TXMLDocument load error (http://www.delphipages.com/forum/showthread.php?t=218687)

FreakaZoid2 08-28-2019 07:53 PM

Delphi XML : TXMLDocument load error
 
any ideas as to why the Delphi 10.2 doesn't like this line from an xml file.

<CC_SMTPRecords>
<CC_SMTPRecord UserID="DEFAULT" Application="AC" UseSMTP="false" Server="" UserName="" FromName="" TLS_Type="NONE" SSL_Version="None" />


this is the error:
Missing equals sign between attribute and attribute value.
Line: 79
<CC_SMTPRecord UserID="DEFAULT"

yet from another xml file
<CC_SMTPRecords>
<CC_SMTPRecord UserID="DEFAULT" Application="AC" UseSMTP="true" Server="" UserName="" FromName="" TLS_Type="REQUIRE" SSL_Version="SSL23" />

works....

FreakaZoid2 08-28-2019 07:57 PM

working text xml
 
HTML Code:

      <CC_SMTPRecords>
        <CC_SMTPRecord UserID="DEFAULT" Application="AC" UseSMTP="true" Server="" UserName="" FromName="" TLS_Type="REQUIRE" SSL_Version="SSL23" />


FreakaZoid2 08-28-2019 07:58 PM

not working text xml
 
HTML Code:

      <CC_SMTPRecords>
        <CC_SMTPRecord UserID="DEFAULT" Application="AC" UseSMTP="false" Server="" UserName="" FromName="" TLS_Type="NONE" SSL_Version="None" />


FreakaZoid2 08-28-2019 07:59 PM

full error message
 
Missing equals sign between attribute and attribute value.
Line: 79
CC_SMTPRecord UserID="DEFAULT"<CC_SMTPRECORD UserID="DEFAULT" p HTML]< [>

FreakaZoid2 08-28-2019 08:07 PM

the xml loads into
 
IE, Edge and firefox without any issues. just not sure why 10.2 doesn't like that line.

FreakaZoid2 08-28-2019 08:23 PM

Sorry...
 
Cranal rectal inversion.

so focus on one part didn't see the rest.


All times are GMT. The time now is 02:23 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.