Autor Beitrag
Fienix
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 109

Win 2K, Win XP Pro, Win 7
D 5 Pro., D 7 Ent., D 2010 Pro.
BeitragVerfasst: Mo 17.10.11 14:54 
Hey,

ich bekomm beim öffnen einer XML Datei den Fehler: "DTD ist nicht zulässig."
In der Datei ist auch ein DTD Eintrag enthalten:
ausblenden XML-Daten
1:
<!DOCTYPE [...] "[...].dtd">					

Unter Delphi 7, funktioniert alles nur unter Delphi 2010 hab ich Probleme.

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
loXML := TXMLDocument.create(nil);
try
  loXML.XML.LoadFromFile(edtFile.Text); // <--- hier steigt er aus
  loXML.active := TRUE;
...

_________________
Wer sichert ist feige!!
vagtler
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 96
Erhaltene Danke: 24


Delphi 2010, C# (VS 2012), Objective-C, Java
BeitragVerfasst: Mo 17.10.11 15:14 
Fienix Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 109

Win 2K, Win XP Pro, Win 7
D 5 Pro., D 7 Ent., D 2010 Pro.
BeitragVerfasst: Mo 17.10.11 16:09 
hmmmm....

ich hab nur nach der deutschen Fehlermeldung gesucht und nix gefunden.

Aber trotzdem danke.

_________________
Wer sichert ist feige!!
vagtler
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 96
Erhaltene Danke: 24


Delphi 2010, C# (VS 2012), Objective-C, Java
BeitragVerfasst: Mo 17.10.11 16:52 
Ich habe nur nach
ausblenden Quelltext
1:
Delphi XML DTD					

gesucht... :mrgreen: