Skip to content

Commit

Permalink
Update SDMX ruleset in sample
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoLaval committed Jan 21, 2025
1 parent b195ea4 commit b3062cb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vtl-sdmx/src/test/resources/DSD_BPE_CENSUS.xml
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,8 @@
<str:Structure>urn:sdmx:org.sdmx.infomodel.datastructure.DataStructure=FR1:BPE_DETAIL(1.0)</str:Structure>
</str:Dataflow>
<str:Dataflow urn="urn:sdmx:org.sdmx.infomodel.datastructure.Dataflow=FR1:LEGAL_POP_CUBE(1.0)" agencyID="FR1" id="LEGAL_POP_CUBE" version="1.0">
<com:Name xml:lang="en">Dataflow for BPE_CENSUS</com:Name>
<str:Structure>urn:sdmx:org.sdmx.infomodel.datastructure.DataStructure=FR1:LEGAL_POP(1.0)</str:Structure>
<com:Name xml:lang="en">Dataflow for LEGAL_POP_CUBE</com:Name>
<str:Structure>urn:sdmx:org.sdmx.infomodel.datastructure.DataStructure=FR1:LEGAL_POP_CUBE(1.0)</str:Structure>
</str:Dataflow>
<str:Dataflow urn="urn:sdmx:org.sdmx.infomodel.datastructure.Dataflow=FR1:BPE_MUNICIPALITY(1.0)" agencyID="FR1" id="BPE_MUNICIPALITY" version="1.0">
<com:Name xml:lang="en">Dataflow for BPE_MUNICIPALITY</com:Name>
Expand Down Expand Up @@ -357,8 +357,8 @@
<str:Ruleset id="UNIQUE_MUNICIPALITY" rulesetScope="valuedomain" rulesetType="datapoint">
<com:Name xml:lang="en">Datapoint Ruleset UNIQUE_MUNICIPALITY</com:Name>
<str:RulesetDefinition>
define datapoint ruleset UNIQUE_MUNICIPALITY (valuedomain CL_DEPCOM) is
MUNICIPALITY_FORMAT_RULE : match_characters(CL_DEPCOM, "[0-9]{5}|2[A-B][0-9]{3}") errorcode "Municipality code is not in the correct format"
define datapoint ruleset UNIQUE_MUNICIPALITY (variable DEPCOM) is
MUNICIPALITY_FORMAT_RULE : match_characters(DEPCOM, "[0-9]{5}|2[A-B][0-9]{3}") errorcode "Municipality code is not in the correct format"
end datapoint ruleset;
</str:RulesetDefinition>
</str:Ruleset>
Expand Down

0 comments on commit b3062cb

Please sign in to comment.