Page 1 of 1

Exclude xml:lang in Diff Directories

Posted: Mon Mar 13, 2023 6:27 pm
by leah
Hi there.

I am using the "Compare Directories" tool in Oxygen XML Editor to compare XML files.
I am looking at differences in the map structure across different target locales to see if everything aligns with the source code. (there are some errors to resolve)

So, I would like to ignore the xml:lang="xxx" as it is bringing up all the files as the language codes are all different.

Is there a solution to exclude this language attribute with the "Diff Directories" application ?

Thanks!

Re: Exclude xml:lang in Diff Directories

Posted: Tue Mar 14, 2023 1:45 pm
by teo
Hello,

The possibility to ignore nodes by XPath expressions is only available for Diff Files tool.
We have registered a task to allow nodes to be ignored via XPath expressions for Diff Directories too, but the proposed solutions are still under debate.
That's because the algorithm used to compare directories is particular and does not allow the direct application of the same node exclusion logic as in the case of direct comparison of 2 files.
Not without some performance issues.

Teo

Re: Exclude xml:lang in Diff Directories

Posted: Tue Mar 14, 2023 1:54 pm
by leah
Ah, that is sad to hear. But, thanks for responding with the explanation Teo.