Skip to content

Commit

Permalink
Minor bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
shorowit committed Sep 6, 2024
1 parent 14f4cc1 commit 7a84567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rulesets/resources/301validator.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<sch:pattern>
<sch:title>[IECC=2024]</sch:title>
<sch:rule context='/h:HPXML/h:SoftwareInfo/h:extension/h:IECCERICalculation/h:Version[text()="2024"]'>
<sch:assert role='ERROR' test='count(../../../../h:Building/h:BuildingDetails/h:ClimateandRiskZones/h:ClimateZoneIECC[h:Year="2024"]/h:ClimateZone) = 1'>Expected 1 element(s) for xpath: ../../../../Building/BuildingDetails/ClimateandRiskZones/ClimateZoneIECC[Year="2021"]/ClimateZone</sch:assert>
<sch:assert role='ERROR' test='count(../../../../h:Building/h:BuildingDetails/h:ClimateandRiskZones/h:ClimateZoneIECC[h:Year="2024"]/h:ClimateZone) = 1'>Expected 1 element(s) for xpath: ../../../../Building/BuildingDetails/ClimateandRiskZones/ClimateZoneIECC[Year="2024"]/ClimateZone</sch:assert>
</sch:rule>
</sch:pattern>

Expand Down

0 comments on commit 7a84567

Please sign in to comment.