From e6ca3f1260fd3c8be65fb74af17585192cc25e99 Mon Sep 17 00:00:00 2001 From: Herman Fischer Date: Mon, 18 Mar 2024 15:57:56 -0700 Subject: [PATCH 1/5] post-freeze 24.1 changes incl EXG msg codes --- Embedding.py | 4 ++-- Report.py | 2 +- resources/arelleMessagesText.xml | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Embedding.py b/Embedding.py index e0306bcf7..4a5e7bdbf 100644 --- a/Embedding.py +++ b/Embedding.py @@ -662,9 +662,9 @@ def tooManyCells(self,threshold=2): group = self.cube.linkroleUri cells = int(n/1000000000) self.controller.logWarn(f"Presentation group {group} with {axes} axes could have more than {cells} billion cells. " - +"Split up this presentation group and see EXG 9.7.4 to see how to reduce the number of combinations by selecting " + +"Split up this presentation group and see EXG, Rendering, to see how to reduce the number of combinations by selecting " +"fewer members for each axis.", - messageCode="EXG.9.7.4.tooManyCells" + messageCode="EXG.rendering.tooManyDimensions" ) return True diff --git a/Report.py b/Report.py index e6b47b948..d01b5fa30 100644 --- a/Report.py +++ b/Report.py @@ -1168,7 +1168,7 @@ def writeHtmlFile(self, baseNameBeforeExtension, tree, reportSummary): cell_count = sum(1 for x in tree.iter('Cell')) if cell_count > 50000: self.controller.logWarn(f"There are {cell_count} cells; skipping transformation.", - messageCode="EXG.9.7.renderingCellsLimit") + messageCode="EXG.rendering.tooManyCells") result = fromstring("NOPENot available") else: keywordArgs= { "asPage" : XSLT.strparam("true") } diff --git a/resources/arelleMessagesText.xml b/resources/arelleMessagesText.xml index 90bf37994..115647389 100644 --- a/resources/arelleMessagesText.xml +++ b/resources/arelleMessagesText.xml @@ -2212,8 +2212,10 @@ Example: [dq-{efmSection}-{taxonomy}-Facts-Unexpected]Submission type {subType} {severityVerb} not report {taxonomy} namespace facts. {refSources} [dq-{efmSection}-{taxonomy}-Version-Required]Submission type {subType} {severityVerb} use {taxonomy} version {earliestTaxonomy} or later. [dq-{efmSection}-Taxonomy-Url-Required]Submission type {subType} document type {docType} {severityVerb} contain a taxonomy URL matching {taxonomyPattern} in its DTS. +[dq-{efmSection}-Taxonomy-Url-Unexpected]Submission type {subType} document type {docType} {severityVerb} contain a taxonomy URL matching {taxonomyPattern} in its DTS.{msgCoda} {refSources} [dq-{efmSection}-{tag}-{value}] In submission type {subType}, {tag} value {severityVerb} have {value} in the {context}. {refSources} [dq-{efmSection}-{tag}-{value}] In submission type {subType}, {tag} value, {value}, {severityVerb} have {expectedValue} in the {context}. {refSources} +[dq-{efmSection}-{tag}-ExpectedValue]In submission type {subType}, {tag} value, {value}, {severityVerb} {qualifier}{expectedValue} in the {contextID}. {refSources} [dq-{efmSection}-{tag}-Value] In submission type {subType}, {tag} value, {value}, {severityVerb} be {qualifier}{expectedValue} in the {context}. {refSources} [dq-{efmSection}-{tag}-{otherTag}] In submission type {subType}, {tag} value {severityVerb} have value {value} in the same context as {otherTag}, {contextID}. {refSources} [dq-{efmSection}-{tag}-{otherTag}-Missing] In submission type {subType}, {tag} requires {otherTag} in the same context, {contextID}. {refSources} @@ -2245,6 +2247,8 @@ Example: [dq-0540-CurrentFiscalYearEndDate-Submission-Value] In submission type {subType}, {tag} value, {value}, does not match the Submission Header Fiscal Year End Date {valueOfHeaderTag}. {refSources} [dq-0540-EntityExTransitionPeriod-EntityEmergingGrowthCompany-Dependency] In submission type {subType}, EntityExTransitionPeriod must have a value if EntityEmergingGrowthCompany has value "true" in context {contextID}, else it should not be provided. {refSources} [dq-0540-{headerTag}-Unexpected] Header element {headerTag} value {value} is not applicable for {subType} submission type. {refSources} +[dq-sro-1yr-period]In submission type {subType}, {tag} {severityVerb} have a one-year period ending on {otherTag} in context {contextID}. {refSources} +[dq-sro-monthly-facts]In submission type {subType}, there {severityVerb} at least one fact per month of reporting year, missing months {missingMonths}. {refSources}