bug-gettext
[Top][All Lists]
Advanced

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

[bug-gettext] [bug #54472] appdata.xml string extraction broken when roo


From: Daiki Ueno
Subject: [bug-gettext] [bug #54472] appdata.xml string extraction broken when root component has namespace
Date: Wed, 31 Jul 2019 01:24:52 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #3, bug #54472 (project gettext):

This sounds like a general question about XPath, not a deficiency in gettext
itself.

If the upstream schema mandates a namespace, all the conforming data files
should have an explicit xmlns.

If namespace is optional like metainfo, you can prepare the ITS rules to match
against local names only:
https://stackoverflow.com/questions/5239685/xml-namespace-breaking-my-xpath

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54472>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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