On 2023-04-26 20:07, Carlos E. R. wrote:
On 2023-04-26 18:23, Per Jessen wrote:
Carlos E. R. wrote:
On 2023-04-26 15:39, Per Jessen wrote:
Frankly, no. XML is easily formatted to be human readable, but it is most often not intended as such. If you are editing XML, unless it is e.g. an XSLT stylesheet or an HTML page, you should assume it was produced by some code. IMHO.
Other software produce precisely that line.
In XML ?
I don't remember all the file types where I saw this.
Thank goodness we are only discussing XML.
/usr/share/mobile-broadband-provider-info/apns-conf.xml
<?xml version="1.0"?> <!-- Automatically generated from serviceproviders.xml -->
/usr/share/flightgear/Aircraft/Instruments-3d/mk-viii/caution0.xml
<?xml version="1.0"?> <!--automatically generated, do not edit-->
Gee, thanks for that - one(!) exception to prove the rule.
Actually, it is many files in flightgear, I just copied one :-p
Found another. /home/cer/tmp/initrd/etc/splashy/config.xml <!-- Automatically generated by splashy_config. Do not edit --> I think it is inside the initrd archive. And this reference: /home/cer/bin/lazarus/lazarus_usrlib/docs/xml/lcl/lresources.xml <!-- constant Visibility: default --> <element name="LRSComment"> <short>Text of the "automatically generated..." warning in resource files. </short> <descr/> <seealso/> </element> which means that Lazarus automatically inserts the text in the resource files it creates. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)