Skip to content

Commit

Permalink
fix(dynamic unit): controlledVocabularyName attribute (#1174)
Browse files Browse the repository at this point in the history
  • Loading branch information
nsenave authored Dec 11, 2024
1 parent ff2512a commit 4273a60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>fr.insee.eno</groupId>
<artifactId>eno-core</artifactId>
<version>2.12.0</version>
<version>2.12.1</version>
<packaging>jar</packaging>

<name>Eno – Questionnaire generator</name>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/xslt/outputs/ddi/models.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@
<xsl:if test="not(normalize-space($unit) = ('',' '))">
<r:MeasurementUnit>
<xsl:if test="enoddi33:is-dynamic-unit($source-context)">
<xsl:attribute name="ControlledVocabularyName">personalizedUnit</xsl:attribute>
<xsl:attribute name="controlledVocabularyName">personalizedUnit</xsl:attribute>
</xsl:if>
<xsl:value-of select="$unit"/>
</r:MeasurementUnit>
Expand Down

0 comments on commit 4273a60

Please sign in to comment.