bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

confusing warning from xgettext about 'xml' extension being unknown


From: Sandro Santilli
Subject: confusing warning from xgettext about 'xml' extension being unknown
Date: Thu, 14 Sep 2023 15:50:22 +0200

This snippet:

  echo '<x> &undefined; </x>' > test.xml;
  xgettext test.xml

Results in this being printed on stderr:

  xgettext: cannot read test.xml: Entity 'undefined' not defined
  xgettext: cannot read test.xml: Entity 'undefined' not defined
  xgettext: warning: file 'test.xml' extension 'xml' is unknown; will try C

I find it confusing, because the 'xml' extension is clearly known or
otherwise xgettext would not even try to resolve the entity, right ?

--strk;

  Libre GIS consultant/developer
  https://strk.kbt.io/services.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]