Forum: Cross-Platform-Entwicklung
by cydo,
26. Dez 2013
Ja schon klar. Die Umstellung auf High/Low bei den Strings beseitigt ja den Fehler um den es in diesem Thread eigentlich geht *hust* *hust*. Und damit auch die vollständige Cross-Plattformfähigkeit herstellt (bisher nur Win/Mac).
Forum: Cross-Platform-Entwicklung
by cydo,
20. Dez 2013
Für Beispiele wäre ich dankbar, danke
Forum: Cross-Platform-Entwicklung
by cydo,
20. Dez 2013
Naja, was gibts denn für ne *schöne* plattformübergreifende Alternative um auf das erste Zeichen im String zuzugreifen (etwa StringBuilder?) ohne Zerobased off zu verwenden?
Also
if (Length(Line) > 0) and (Line='x') then
bla
?
Forum: Cross-Platform-Entwicklung
by cydo,
20. Dez 2013
Nachtrag:
Da ist immer noch ein Bug im Encoding header drin (zwei ? am ende), ich werde mal die 1.4 auf 1.5 updaten mit allen Fixes, dann packe ich die auf die Webseite. Eine Update-Meldung kommt dann auch hier.
Forum: Cross-Platform-Entwicklung
by cydo,
20. Dez 2013
So, das ist ja wirklich lustig.
Debug Point bei
Zeile 240:
Line := Lines;
Dann den Header einmal überspringen, bis <doc> drin steht (also zweite line). Der Aufruf
while (Length(Line) > 0) do
Forum: Cross-Platform-Entwicklung
by cydo,
20. Dez 2013
Also ich denke ich weiss woher's kommt:
zeile 240:
while (Length(Line) > 0) and (Line <> '<') do
delete(Line, 1, 1);
die bricht zu früh ab - Die Variable Line sollte danach direkt mit "<" anfangen,
tut es aber nicht: " <A..", also ein Leerzeichen zuviel. Erst dachte ich, ah ok,
wir indizieren jetzt dann wie angekündigt mit 0, aber ein Line meckert rum.
Mal sehen wie ich das...
Forum: Cross-Platform-Entwicklung
by cydo,
20. Dez 2013
Aber nur unter iOS? Unter Windows tuts bei mir.
Ich muss das mit iOS jetzt erstmal einrichten ;-)
Forum: Cross-Platform-Entwicklung
by cydo,
20. Dez 2013
Unter welcher Delphi Version tritt denn das Problem auf?
Forum: Cross-Platform-Entwicklung
by cydo,
20. Dez 2013
ja die version 1.0 von xmlverysimple ist auch ohne tstreamreader
Forum: Cross-Platform-Entwicklung
by cydo,
20. Dez 2013
Nee, Isselfclosing fragt sowas ab:
<nixdrin/>
oder <nixdrin></nixdrin>
das ist unabhängig vom Parent Text
Forum: Cross-Platform-Entwicklung
by cydo,
20. Dez 2013
Wenn Du mir ein komplettes Testprojekt (incl. Testdateien) für iOS (unter welcher Version testest Du es?) schickst, dann kann ich ja mal nach dem Fehler suchen. Eventuell ists auch wirklich der TStreamReader, möglicherweise lässt sich da was umstellen - ich debugge es gerne
Forum: Cross-Platform-Entwicklung
by cydo,
20. Dez 2013
Das sieht ja lustig aus. Ich schaue es mir mal an und werde dann den Programmierer schlagen (aua aua), wenn da was nicht stimmt.
P.S.: Wie kommst Du darauf, dass der Cross-Plattform ist?