Skip to content

Commit

Permalink
Merge branch 'dt-v20-x' into v20-x
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtauriello committed Jun 1, 2023
2 parents f29d6cc + 80a22f9 commit 8ff7ae0
Show file tree
Hide file tree
Showing 21 changed files with 38 additions and 56 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -9,7 +9,7 @@ env:
global:
- EXPECTED=./tests/output
- CURDIR=$(pwd)
- XULE_VERSION=23469
- XULE_VERSION=main
- GH_SLUG=https://github.com/${TRAVIS_REPO_SLUG}
- PR_BR=${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}

Expand Down
Binary file modified dqc_us_rules/dqc-ifrs-2018-V20-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-ifrs-2019-V20-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-ifrs-2020-V20-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-ifrs-2021-V20-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-ifrs-2022-V20-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-ifrs-2023-V20-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-us-2018-V20-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-us-2019-V20-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-us-2020-V20-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-us-2021-V20-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-us-2022-V20-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-us-2023-V20-ruleset.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion dqc_us_rules/source/lib/version.xule
Expand Up @@ -9,7 +9,7 @@ DQC Rules

/** Define the rule version **/

constant $ruleVersion = '20.0.6'
constant $ruleVersion = '20.0.7'

/** Define Additional Attribute types that can be associated with a rule **/

Expand Down
2 changes: 1 addition & 1 deletion dqc_us_rules/source/us/2020/DQC_0144.xule
Expand Up @@ -38,7 +38,7 @@ for $network in $presNetworks
$items_with_no_balance = navigate parent-child descendants role $network.role where $relationship.target.is-monetary == true and $relationship.target.balance == none and $relationship.target.namespace-uri == $extension_ns returns set (target-name);

for $no_balance_item in $items_with_no_balance
$no_balance_item_values = list({covered @concept = $no_balance_item })
$no_balance_item_values = list({covered @concept = $no_balance_item }).sort
$no_balance_item_values.length > 0


Expand Down
2 changes: 1 addition & 1 deletion dqc_us_rules/source/us/2021/DQC_0144.xule
Expand Up @@ -36,7 +36,7 @@ for $network in $presNetworks
$ItemsThatAreLeafItems = $items_with_no_balance - $parent_elements

for $no_balance_item in $ItemsThatAreLeafItems
$no_balance_item_values = list({covered @concept = $no_balance_item })
$no_balance_item_values = list({covered @concept = $no_balance_item }).sort
$no_balance_item_values.length > 0


Expand Down
2 changes: 1 addition & 1 deletion dqc_us_rules/source/us/2022/DQC_0144.xule
Expand Up @@ -36,7 +36,7 @@ for $network in $presNetworks
$ItemsThatAreLeafItems = $items_with_no_balance - $parent_elements

for $no_balance_item in $ItemsThatAreLeafItems
$no_balance_item_values = list({covered @concept = $no_balance_item })
$no_balance_item_values = list({covered @concept = $no_balance_item }).sort
$no_balance_item_values.length > 0


Expand Down
12 changes: 6 additions & 6 deletions dqc_us_rules/source/us/2023/DQC_0048.xule
Expand Up @@ -45,12 +45,12 @@ else
$root.name.local-name
);

not ($roots.contains(CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect) or
$roots.contains(CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect) or
$roots.contains(CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffectContinuingOperations) or
$roots.contains(CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffectContinuingOperations) or
$roots.contains(CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffectDisposalGroupIncludingDiscontinuedOperations) or
$roots.contains(CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffectDisposalGroupIncludingDiscontinuedOperations) or
not ($roots.contains('CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect') or
$roots.contains('CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect') or
$roots.contains('CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffectContinuingOperations') or
$roots.contains('CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffectContinuingOperations') or
$roots.contains('CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffectDisposalGroupIncludingDiscontinuedOperations') or
$roots.contains('CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffectDisposalGroupIncludingDiscontinuedOperations') or
$EGCFlag) and
not ($roots.contains('NetCashProvidedByUsedInContinuingOperations') and $roots.contains('NetCashProvidedByUsedInDiscontinuedOperations'))
))
Expand Down
2 changes: 1 addition & 1 deletion dqc_us_rules/source/us/2023/DQC_0144.xule
Expand Up @@ -26,7 +26,7 @@ for $network in $STATEMENT_PRES_NETWORKS
$ItemsThatAreLeafItems = $items_with_no_balance - $parent_elements

for $no_balance_item in $ItemsThatAreLeafItems
$no_balance_item_values = list({covered @concept = $no_balance_item })
$no_balance_item_values = list({covered @concept = $no_balance_item }).sort
$no_balance_item_values.length > 0


Expand Down
35 changes: 13 additions & 22 deletions tests/output/DQC.US.0144.9866_abco-us-2022.xml
Expand Up @@ -7,43 +7,34 @@
<message>[info] Activation of plug-in SEC Inline Transforms successful, version 19.2. - transforms/SEC </message>
<ref href="transforms/SEC"/></entry>
<entry code="info" level="info">
<message>[info] Xule version: 3.0.23379 - </message>
<message>[info] Xule version: 3.0.23570 - </message>
<ref href=""/></entry>
<entry code="xmlSchema:syntax" level="error">
<message fileName="abcoenergy20211231_10k.htm" error="Specification mandates value for attribute defer" line="10" column="132">[xmlSchema:syntax] Specification mandates value for attribute defer, abcoenergy20211231_10k.htm, line 10, column 132 - ../../../../../../../abcoenergy20211231_10k.htm , http://www.sec.gov/Archives/edgar/data/1300938/000118518522000468/abcoenergy20211231_10k.htm </message>
<ref href="http://www.sec.gov/Archives/edgar/data/1300938/000118518522000468/abcoenergy20211231_10k.htm"/>

<ref href="../../../../../../../abcoenergy20211231_10k.htm"/></entry>
<entry code="html:syntaxError" level="error">
<message element="Html" error="Element script does not carry attribute type line 10, at path /html/head/script[1], Element noscript content does not follow the...">[html:syntaxError] Html error Element script does not carry attribute type line 10, at path /html/head/script[1], Element noscript content does not follow the DTD, expecting (p | h1 | h2 | h3 | h4 | h5 | h6 | div | ul | ol | dl | pre | hr | blockquote | address | fieldset | table | form | noscript | ins | del | script | ix:footnote | ix:nonNumeric | ix:fraction | ix:numerator | ix:denominator | ix:nonFraction | ix:continuation | ix:exclude)*, got (img) line 10901, at path /html/body/noscript, Element img does not carry attribute alt line 10901, at path /html/body/noscript/img - http://www.sec.gov/Archives/edgar/data/1300938/000118518522000468/abcoenergy20211231_10k.htm 10, 10901</message>
<ref href="http://www.sec.gov/Archives/edgar/data/1300938/000118518522000468/abcoenergy20211231_10k.htm#element(/1/1/3)" sourceLine="10">
<property name="QName" value="script"/>
</ref>

<ref href="http://www.sec.gov/Archives/edgar/data/1300938/000118518522000468/abcoenergy20211231_10k.htm#element(/1/2/2)" sourceLine="10901">
<property name="QName" value="noscript"/>
</ref>

<ref href="http://www.sec.gov/Archives/edgar/data/1300938/000118518522000468/abcoenergy20211231_10k.htm#element(/1/2/2/1)" sourceLine="10901">
<property name="QName" value="img"/>
<property name="src" value="https://www.sec.gov/akam/13/pixel_7ba341e7?a=dD1hODQxZTI3NmU4MTg1NmUyZjQwNWJmZDJlMmMyNGFjYjczNTE2MjM3JmpzPW9mZg=="/>
<property name="style" value="visibility: hidden; position: absolute; left: -999px; top: -999px;"/>
</ref></entry>
<entry code="lxml.SCHEMAV_CVC_COMPLEX_TYPE_4" level="error">
<message error="Element '{http://www.w3.org/1999/xhtml}script': The attribute 'type' is required but missing." path="/*/*[1]/*[3]" sourceLine="10">[lxml.SCHEMAV_CVC_COMPLEX_TYPE_4] XML file syntax error Element '{http://www.w3.org/1999/xhtml}script': The attribute 'type' is required but missing., line 10, path /*/*[1]/*[3] - abcoenergy20211231_10k.htm </message>
<ref href="abcoenergy20211231_10k.htm"/></entry>
<entry code="lxml.SCHEMAV_ELEMENT_CONTENT" level="error">
<message error="Element '{http://www.w3.org/1999/xhtml}img': This element is not expected." path="/*/*[2]/*[2]/*" sourceLine="10901">[lxml.SCHEMAV_ELEMENT_CONTENT] XML file syntax error Element '{http://www.w3.org/1999/xhtml}img': This element is not expected., line 10901, path /*/*[2]/*[2]/* - abcoenergy20211231_10k.htm </message>
<ref href="abcoenergy20211231_10k.htm"/></entry>
<entry code="info" level="info">
<message>[info] loaded in 5.46 secs at 2022-11-15T11:51:43 - http://www.sec.gov/Archives/edgar/data/1300938/000118518522000468/abcoenergy20211231_10k.htm </message>
<message>[info] loaded in 1.63 secs at 2023-05-31T17:17:59 - http://www.sec.gov/Archives/edgar/data/1300938/000118518522000468/abcoenergy20211231_10k.htm </message>
<ref href="http://www.sec.gov/Archives/edgar/data/1300938/000118518522000468/abcoenergy20211231_10k.htm"/></entry>
<entry code="info" level="info">
<message>[info] Activation of package dqc_15_concepts.csv, dqc_0011.csv, dqc_0079.csv, dqc_0080.csv, dqc_0081.csv, dqc_0091_ifrs_2018_concepts.csv, dqc_0091_ifrs_2019_concepts.csv, dqc_0094.csv, dqc_0129.csv and effective_dates.csv successful. - D:\Temp\tmphnezqyx_\packages\resources.zip </message>
<ref href="D:\Temp\tmphnezqyx_\packages\resources.zip"/></entry>
<message>[info] Activation of package dqc_15_concepts.csv, dqc_0011.csv, dqc_0079.csv, dqc_0080.csv, dqc_0081.csv, dqc_0091_ifrs_2018_concepts.csv, dqc_0091_ifrs_2019_concepts.csv, dqc_0094.csv, dqc_0129.csv and effective_dates.csv successful. - D:\Temp\tmpmpgkeoc3\packages\resources.zip </message>
<ref href="D:\Temp\tmpmpgkeoc3\packages\resources.zip"/></entry>
<entry code="DQC.US.0144.9866" level="error">
<message filing_url="http://www.sec.gov/Archives/edgar/data/1300938/000118518522000468/abcoenergy20211231_10k.htm" severity="error" effectiveDate="None" cid="2384105279440">[DQC.US.0144.9866] The filing reports a value for the extension concept abce:FinanceFees in the statement 003 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS. This monetary concept appears in the statement but does not have a balance type defined. All monetary items defined in 003 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS should have a balance type of debit or credit.
<message filing_url="http://www.sec.gov/Archives/edgar/data/1300938/000118518522000468/abcoenergy20211231_10k.htm" severity="error" effectiveDate="2023-03-31" cid="2357574817232">[DQC.US.0144.9866] The filing reports a value for the extension concept abce:FinanceFees in the statement 003 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS. This monetary concept appears in the statement but does not have a balance type defined. All monetary items defined in 003 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS should have a balance type of debit or credit.

Concept : abce:FinanceFees
Period :2021-01-01 to 2021-12-31
Dimensions : us-gaap:DerivativeInstrumentRiskAxis=us-gaap:EmbeddedDerivativeFinancialInstrumentsMember

Rule Element Id:9866
Rule version: 20.0.0RC1 - http://www.sec.gov/Archives/edgar/data/1300938/000118518522000468/abce-20211231.xsd 380</message>
Rule version: 20.0.7 - http://www.sec.gov/Archives/edgar/data/1300938/000118518522000468/abce-20211231.xsd 380</message>
<ref href="http://www.sec.gov/Archives/edgar/data/1300938/000118518522000468/abce-20211231.xsd#abce_FinanceFees" sourceLine="380">
<property name="label" value="Derivative Finance fees">
<property name="documentation (en-US)" value="Expenditures for finance fees during the period."/>
Expand All @@ -59,6 +50,6 @@ Rule version: 20.0.0RC1 - http://www.sec.gov/Archives/edgar/data/1300938/0001185
<property name="period type" value="duration"/>
</ref></entry>
<entry code="info" level="info">
<message>[info] validated in 5.23 secs - http://www.sec.gov/Archives/edgar/data/1300938/000118518522000468/abcoenergy20211231_10k.htm </message>
<message>[info] validated in 5.09 secs - http://www.sec.gov/Archives/edgar/data/1300938/000118518522000468/abcoenergy20211231_10k.htm </message>
<ref href="http://www.sec.gov/Archives/edgar/data/1300938/000118518522000468/abcoenergy20211231_10k.htm"/></entry>
</log>
35 changes: 13 additions & 22 deletions tests/output/DQC.US.0144.9866_scio-us-2022.xml
Expand Up @@ -7,43 +7,34 @@
<message>[info] Activation of plug-in SEC Inline Transforms successful, version 19.2. - transforms/SEC </message>
<ref href="transforms/SEC"/></entry>
<entry code="info" level="info">
<message>[info] Xule version: 3.0.23379 - </message>
<message>[info] Xule version: 3.0.23570 - </message>
<ref href=""/></entry>
<entry code="xmlSchema:syntax" level="error">
<message fileName="f10k2021_sciontechgr2.htm" error="Specification mandates value for attribute defer" line="8" column="132">[xmlSchema:syntax] Specification mandates value for attribute defer, f10k2021_sciontechgr2.htm, line 8, column 132 - ../../../../../../../f10k2021_sciontechgr2.htm , http://www.sec.gov/Archives/edgar/data/1838431/000121390022020040/f10k2021_sciontechgr2.htm </message>
<ref href="http://www.sec.gov/Archives/edgar/data/1838431/000121390022020040/f10k2021_sciontechgr2.htm"/>

<ref href="../../../../../../../f10k2021_sciontechgr2.htm"/></entry>
<entry code="html:syntaxError" level="error">
<message element="Html" error="Element script does not carry attribute type line 8, at path /html/head/script[1], Element noscript content does not follow the ...">[html:syntaxError] Html error Element script does not carry attribute type line 8, at path /html/head/script[1], Element noscript content does not follow the DTD, expecting (p | h1 | h2 | h3 | h4 | h5 | h6 | div | ul | ol | dl | pre | hr | blockquote | address | fieldset | table | form | noscript | ins | del | script | ix:footnote | ix:nonNumeric | ix:fraction | ix:numerator | ix:denominator | ix:nonFraction | ix:continuation | ix:exclude)*, got (img) line 9277, at path /html/body/noscript, Element img does not carry attribute alt line 9277, at path /html/body/noscript/img - http://www.sec.gov/Archives/edgar/data/1838431/000121390022020040/f10k2021_sciontechgr2.htm 8, 9277</message>
<ref href="http://www.sec.gov/Archives/edgar/data/1838431/000121390022020040/f10k2021_sciontechgr2.htm#element(/1/1/3)" sourceLine="8">
<property name="QName" value="script"/>
</ref>

<ref href="http://www.sec.gov/Archives/edgar/data/1838431/000121390022020040/f10k2021_sciontechgr2.htm#element(/1/2/2)" sourceLine="9277">
<property name="QName" value="noscript"/>
</ref>

<ref href="http://www.sec.gov/Archives/edgar/data/1838431/000121390022020040/f10k2021_sciontechgr2.htm#element(/1/2/2/1)" sourceLine="9277">
<property name="QName" value="img"/>
<property name="src" value="https://www.sec.gov/akam/13/pixel_7ba341e7?a=dD1hODQxZTI3NmU4MTg1NmUyZjQwNWJmZDJlMmMyNGFjYjczNTE2MjM3JmpzPW9mZg=="/>
<property name="style" value="visibility: hidden; position: absolute; left: -999px; top: -999px;"/>
</ref></entry>
<entry code="lxml.SCHEMAV_CVC_COMPLEX_TYPE_4" level="error">
<message error="Element '{http://www.w3.org/1999/xhtml}script': The attribute 'type' is required but missing." path="/*/*[1]/*[3]" sourceLine="8">[lxml.SCHEMAV_CVC_COMPLEX_TYPE_4] XML file syntax error Element '{http://www.w3.org/1999/xhtml}script': The attribute 'type' is required but missing., line 8, path /*/*[1]/*[3] - f10k2021_sciontechgr2.htm </message>
<ref href="f10k2021_sciontechgr2.htm"/></entry>
<entry code="lxml.SCHEMAV_ELEMENT_CONTENT" level="error">
<message error="Element '{http://www.w3.org/1999/xhtml}img': This element is not expected." path="/*/*[2]/*[2]/*" sourceLine="9277">[lxml.SCHEMAV_ELEMENT_CONTENT] XML file syntax error Element '{http://www.w3.org/1999/xhtml}img': This element is not expected., line 9277, path /*/*[2]/*[2]/* - f10k2021_sciontechgr2.htm </message>
<ref href="f10k2021_sciontechgr2.htm"/></entry>
<entry code="info" level="info">
<message>[info] loaded in 4.65 secs at 2022-11-15T11:51:56 - http://www.sec.gov/Archives/edgar/data/1838431/000121390022020040/f10k2021_sciontechgr2.htm </message>
<message>[info] loaded in 1.32 secs at 2023-05-31T17:18:07 - http://www.sec.gov/Archives/edgar/data/1838431/000121390022020040/f10k2021_sciontechgr2.htm </message>
<ref href="http://www.sec.gov/Archives/edgar/data/1838431/000121390022020040/f10k2021_sciontechgr2.htm"/></entry>
<entry code="info" level="info">
<message>[info] Activation of package dqc_15_concepts.csv, dqc_0011.csv, dqc_0079.csv, dqc_0080.csv, dqc_0081.csv, dqc_0091_ifrs_2018_concepts.csv, dqc_0091_ifrs_2019_concepts.csv, dqc_0094.csv, dqc_0129.csv and effective_dates.csv successful. - D:\Temp\tmpjumf2jwx\packages\resources.zip </message>
<ref href="D:\Temp\tmpjumf2jwx\packages\resources.zip"/></entry>
<message>[info] Activation of package dqc_15_concepts.csv, dqc_0011.csv, dqc_0079.csv, dqc_0080.csv, dqc_0081.csv, dqc_0091_ifrs_2018_concepts.csv, dqc_0091_ifrs_2019_concepts.csv, dqc_0094.csv, dqc_0129.csv and effective_dates.csv successful. - D:\Temp\tmpnwtxn8i3\packages\resources.zip </message>
<ref href="D:\Temp\tmpnwtxn8i3\packages\resources.zip"/></entry>
<entry code="DQC.US.0144.9866" level="error">
<message filing_url="http://www.sec.gov/Archives/edgar/data/1838431/000121390022020040/f10k2021_sciontechgr2.htm" severity="error" effectiveDate="None" cid="2136028843984">[DQC.US.0144.9866] The filing reports a value for the extension concept scob:DeferredUnderwritingCommissionsChargedToAdditionalPaidInCapital in the statement 005 - Statement - Statements of Cash Flows. This monetary concept appears in the statement but does not have a balance type defined. All monetary items defined in 005 - Statement - Statements of Cash Flows should have a balance type of debit or credit.
<message filing_url="http://www.sec.gov/Archives/edgar/data/1838431/000121390022020040/f10k2021_sciontechgr2.htm" severity="error" effectiveDate="2023-03-31" cid="1961456031184">[DQC.US.0144.9866] The filing reports a value for the extension concept scob:DeferredUnderwritingCommissionsChargedToAdditionalPaidInCapital in the statement 005 - Statement - Statements of Cash Flows. This monetary concept appears in the statement but does not have a balance type defined. All monetary items defined in 005 - Statement - Statements of Cash Flows should have a balance type of debit or credit.

Concept : scob:DeferredUnderwritingCommissionsChargedToAdditionalPaidInCapital
Period :2021-01-01 to 2021-12-31
Dimensions :

Rule Element Id:9866
Rule version: 20.0.0RC1 - http://www.sec.gov/Archives/edgar/data/1838431/000121390022020040/scob-20211231.xsd 230</message>
Rule version: 20.0.7 - http://www.sec.gov/Archives/edgar/data/1838431/000121390022020040/scob-20211231.xsd 230</message>
<ref href="http://www.sec.gov/Archives/edgar/data/1838431/000121390022020040/scob-20211231.xsd#scob_DeferredUnderwritingCommissionsChargedToAdditionalPaidInCapital" sourceLine="230">
<property name="label" value="DeferredUnderwritingCommissionsChargedToAdditionalPaidInCapital">
<property name="documentation (en-US)" value="Deferred underwriting commissions charged to additional paid in capital."/>
Expand All @@ -60,6 +51,6 @@ Rule version: 20.0.0RC1 - http://www.sec.gov/Archives/edgar/data/1838431/0001213
<property name="period type" value="duration"/>
</ref></entry>
<entry code="info" level="info">
<message>[info] validated in 4.85 secs - http://www.sec.gov/Archives/edgar/data/1838431/000121390022020040/f10k2021_sciontechgr2.htm </message>
<message>[info] validated in 4.26 secs - http://www.sec.gov/Archives/edgar/data/1838431/000121390022020040/f10k2021_sciontechgr2.htm </message>
<ref href="http://www.sec.gov/Archives/edgar/data/1838431/000121390022020040/f10k2021_sciontechgr2.htm"/></entry>
</log>

0 comments on commit 8ff7ae0

Please sign in to comment.