Closed austinmatherne-wk closed 2 weeks ago
The default lang value of en-US potentially conflicts with xml:lang if present.
en-US
xml:lang
First check if there's an xml:lang value to use before falling back to en-US when setting lang.
lang
Note: this doesn't impact the stub viewer, so this must be tested from the command line.
python arelleCmdLine.py --plugins ixbrl-viewer --file austin-2024-05-28-fr.zip --save-viewer ixbrlviewer.html
fr
review: @Arelle/arelle @paulwarren-wk
No security relevant content was detected by automated scans.
aviary.yaml
Questions or Comments? Reach out on Slack: #support-infosec.
Reason for change
The default lang value of
en-US
potentially conflicts withxml:lang
if present.Description of change
First check if there's an
xml:lang
value to use before falling back toen-US
when settinglang
.Steps to Test
Note: this doesn't impact the stub viewer, so this must be tested from the command line.
python arelleCmdLine.py --plugins ixbrl-viewer --file austin-2024-05-28-fr.zip --save-viewer ixbrlviewer.html
xml:lang
andlang
attributes on the html element match (fr
).review: @Arelle/arelle @paulwarren-wk