[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #54472] appdata.xml string extraction broken when root component ha
From: |
Bruno Haible |
Subject: |
[bug #54472] appdata.xml string extraction broken when root component has namespace |
Date: |
Fri, 11 Oct 2024 07:08:54 -0400 (EDT) |
Update of bug #54472 (group gettext):
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #5:
Patrick Storz wrote:
> We have the same issue in Inkscape
> They use the XML namespace
"http://www.inkscape.org/namespace/inkscape/extension"
In this case, you need to duplicate the ITS rules in the *.its file, for this
particular namespace, like I did in aforementioned commit.
If, however, you want to allow _any_ namespace instead of a specific one, use
the trick from https://stackoverflow.com/questions/5239685/ (mentioned by
Daiki) that replaces XPath expressions like
/List/Fields/Field
with
/*[name()='List']/*[name()='Fields']/*[name()='Field']
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?54472>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature