Ver Mensaje Individual
  #1446  
Antiguo 15-09-2021
iMia iMia is offline
Miembro
 
Registrado: jul 2010
Posts: 141
Reputación: 14
iMia Va por buen camino
Cita:
Empezado por elguille Ver Mensaje
Me da el mismo error tanto en el validador como en el servicio ¿?
Como te han comentado más arriba el xml tiene que guardarse en UTF sin BOM

Yo lo hago así.

Código Delphi [-]
        strList := TStringList.Create;
        try
          strList.Assign(xmlTBai_Document.XML);
          strList.WriteBOM := false;
          strList.SaveToFile(strFileNameXML, TEncoding.UTF8);
        finally
          FreeAndNil(strList);
        end;

Saludos.
Responder Con Cita