Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove url as part of unit of measurement #417

Open
wants to merge 2 commits into
base: 4.2.x
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/plugin/iso19139.ca.HNAP/update-fixed-info.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -917,8 +917,8 @@
<xsl:apply-templates select="@*"/>
<xsl:choose>
<!--Avoid append the url recursively. Only append the url once. -->
<xsl:when test="not(starts-with(@uom, 'http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/uom/gmxUom.xml#'))">
<xsl:attribute name="uom">http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/uom/gmxUom.xml#<xsl:value-of select="@uom"/></xsl:attribute>
<xsl:when test="starts-with(@uom, 'http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/uom/gmxUom.xml#')">
<xsl:attribute name="uom"><xsl:value-of select="concat(., ' ', tokenize(@uom, '#')[2])"/></xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="uom"><xsl:value-of select="@uom"/></xsl:attribute>
Expand Down