<html dir="ltr"><head></head><body style="text-align:left; direction:ltr;"><div>Hi,</div><div>here is a copy of an email I recently (2020/04/10) sent to Adrien Prokopowicz, without success!</div><div>Decidedly, XML doesn't interest many people in the Gambas community.</div><div><div style="white-space: normal;"><br></div><div style="white-space: normal;"><br></div><div style="white-space: normal;">Hi,</div><div style="white-space: normal;"><br></div><div style="white-space: normal;">it's been 22 months since I noticed bug 1336 in <a href="http://gambaswiki.org/bugtracker/main">http://gambaswiki.org/bugtracker/main</a>.</div><div style="white-space: normal;">I sent a message to lists.gambas-basic.org on Nov 5, 2019 without any answer.</div><div style="white-space: normal;"><br></div><div style="white-space: normal;">I updated the different versions of Gambas </div><div style="white-space: normal;">as they are published.</div><div style="white-space: normal;">Today I'm in 3.14.3 (see my environment below)</div><div style="white-space: normal;"><br></div><div style="white-space: normal;">By re-debugging the code I realized that not only the function </div><div style="white-space: normal;">Save of the XmlDocument object truncates the prolog of the xml document,</div><div style="white-space: normal;">but that the Open function of the same XmlDocument object also truncates the same prolog.</div><div style="white-space: normal;">And in both cases (Open/Save) the Processing Instruction is deleted.</div><div style="white-space: normal;"><br></div><div style="white-space: normal;">Moreover, after searching unsuccessfully in the objects of the gb.xml library,</div><div style="white-space: normal;">especially in the XmlDocument object, I did not find anywhere a method </div><div style="white-space: normal;">to create/modify a Prologue (<a href="https://www.w3.org/TR/xml/#sec-prolog-dtd)">https://www.w3.org/TR/xml/#sec-prolog-dtd)</a> </div><div style="white-space: normal;">or a Processing Instruction (<a href="https://www.w3.org/TR/xml/#sec-pi">https://www.w3.org/TR/xml/#sec-pi</a>).</div><div style="white-space: normal;"><br></div><div style="white-space: normal;">My only 2 questions are : </div><div style="white-space: normal;">Do you intend to correct these problems? </div><div style="white-space: normal;">and when?</div><div style="white-space: normal;"><br></div><div style="white-space: normal;">Yours sincerely.</div><div style="white-space: normal;"><br></div><div style="white-space: normal;"><br></div><div style="white-space: normal;">[System]</div><div style="white-space: normal;">Gambas=3.14.3</div><div style="white-space: normal;">OperatingSystem=Linux</div><div style="white-space: normal;">Kernel=4.15.0-96-generic</div><div style="white-space: normal;">Architecture=x86_64</div><div style="white-space: normal;">Distribution=Ubuntu 18.04.4 LTS</div><div style="white-space: normal;">Desktop=MATE</div><div style="white-space: normal;">Theme=Gtk</div><div style="white-space: normal;">Language=fr_FR.UTF-8</div><div style="white-space: normal;">Memory=7853M</div><div style="white-space: normal;"><br></div><div style="white-space: normal;">[Libraries]</div><div style="white-space: normal;">Cairo=libcairo.so.2.11510.0</div><div style="white-space: normal;">Curl=libcurl.so.4.5.0</div><div style="white-space: normal;">DBus=libdbus-1.so.3.19.4</div><div style="white-space: normal;">GStreamer=libgstreamer-1.0.so.0.1405.0</div><div style="white-space: normal;">GTK+2=libgtk-x11-2.0.so.0.2400.32</div><div style="white-space: normal;">GTK+3=libgtk-3.so.0.2200.30</div><div style="white-space: normal;">OpenGL=libGL.so.1.0.0</div><div style="white-space: normal;">Poppler=libpoppler.so.73.0.0</div><div style="white-space: normal;">QT4=libQtCore.so.4.8.7</div><div style="white-space: normal;">QT5=libQt5Core.so.5.9.5</div><div style="white-space: normal;">SDL=libSDL-1.2.so.0.11.4</div><div style="white-space: normal;">SQLite=libsqlite3.so.0.8.6</div><div style="white-space: normal;"><br></div><div style="white-space: normal;">[Environment]</div><div style="white-space: normal;">COMPIZ_CONFIG_PROFILE=mate</div><div style="white-space: normal;">DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus</div><div style="white-space: normal;">DEFAULTS_PATH=/usr/share/gconf/mate.default.path</div><div style="white-space: normal;">DESKTOP_SESSION=mate</div><div style="white-space: normal;">DISPLAY=:0</div><div style="white-space: normal;">GB_GUI=gb.qt5</div><div style="white-space: normal;">GDMSESSION=mate</div><div style="white-space: normal;">GDM_LANG=fr_FR</div><div style="white-space: normal;">GIO_LAUNCHED_DESKTOP_FILE=<home>/Bureau/gambas3.desktop</div><div style="white-space: normal;">GIO_LAUNCHED_DESKTOP_FILE_PID=32288</div><div style="white-space: normal;">GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1</div><div style="white-space: normal;">GTK_MODULES=appmenu-gtk-module:gail:atk-bridge:canberra-gtk-module</div><div style="white-space: normal;">GTK_OVERLAY_SCROLLING=0</div><div style="white-space: normal;">HOME=<home></div><div style="white-space: normal;">INSIDE_CAJA_PYTHON=</div><div style="white-space: normal;">LANG=fr_FR.UTF-8</div><div style="white-space: normal;">LANGUAGE=fr_FR.UTF-8</div><div style="white-space: normal;">LC_ADDRESS=fr_FR.UTF-8</div><div style="white-space: normal;">LC_IDENTIFICATION=fr_FR.UTF-8</div><div style="white-space: normal;">LC_MEASUREMENT=fr_FR.UTF-8</div><div style="white-space: normal;">LC_MONETARY=fr_FR.UTF-8</div><div style="white-space: normal;">LC_NAME=fr_FR.UTF-8</div><div style="white-space: normal;">LC_NUMERIC=fr_FR.UTF-8</div><div style="white-space: normal;">LC_PAPER=fr_FR.UTF-8</div><div style="white-space: normal;">LC_TELEPHONE=fr_FR.UTF-8</div><div style="white-space: normal;">LC_TIME=fr_FR.UTF-8</div><div style="white-space: normal;">LOGNAME=<user></div><div style="white-space: normal;">MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path</div><div style="white-space: normal;">MATE_DESKTOP_SESSION_ID=this-is-deprecated</div><div style="white-space: normal;">PAPERSIZE=a4</div><div style="white-space: normal;">PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin</div><div style="white-space: normal;">PWD=<home></div><div style="white-space: normal;">QT_ACCESSIBILITY=1</div><div style="white-space: normal;">QT_AUTO_SCREEN_SCALE_FACTOR=0</div><div style="white-space: normal;">QT_QPA_PLATFORMTHEME=gtk2</div><div style="white-space: normal;">QT_SCALE_FACTOR=1</div><div style="white-space: normal;">SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1410,unix/<hostname>:/tmp/.ICE-unix/1410</div><div style="white-space: normal;">SHELL=/bin/bash</div><div style="white-space: normal;">SHLVL=0</div><div style="white-space: normal;">SSH_AGENT_PID=1552</div><div style="white-space: normal;">SSH_AUTH_SOCK=/run/user/1000/keyring/ssh</div><div style="white-space: normal;">TZ=:/etc/localtime</div><div style="white-space: normal;">UBUNTU_MENUPROXY=1</div><div style="white-space: normal;">USER=<user></div><div style="white-space: normal;">XAUTHORITY=<home>/.Xauthority</div><div style="white-space: normal;">XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg</div><div style="white-space: normal;">XDG_CURRENT_DESKTOP=MATE</div><div style="white-space: normal;">XDG_DATA_DIRS=/usr/share/mate:/usr/local/share:/usr/share:/var/lib/snapd/desktop</div><div style="white-space: normal;">XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user></div><div style="white-space: normal;">XDG_RUNTIME_DIR=/run/user/1000</div><div style="white-space: normal;">XDG_SEAT=seat0</div><div style="white-space: normal;">XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0</div><div style="white-space: normal;">XDG_SESSION_DESKTOP=mate</div><div style="white-space: normal;">XDG_SESSION_ID=c2</div><div style="white-space: normal;">XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0</div><div style="white-space: normal;">XDG_SESSION_TYPE=x11</div><div style="white-space: normal;">XDG_VTNR=7</div></div></body></html>