- changed status to resolved
XLIFFFilter: attributes with the same name from different namespaces get mixed
Issue #844
resolved
If an element of the XML contains attributes with identical local named (but different namespaces) the parser will return the first one.
For example trying to get the original ID from this placeholder:
<g ctype="x-ul" id="w1ab1b5b1b1b2" cms:id="ul_xlf_ly4_xf">
vs. this one:
<g cms:id="ul_xlf_ly4_xf" ctype="x-ul" id="w1ab1b5b1b1b2">
will get different results (the first id
attribute wins)
But we want the one in the XLIFF namespace, always.
Comments (1)
-
reporter - Log in to comment
Fixed by commit 8823497