Stylesheets function cannot cope with remarks with @versionDate
#556
Labels
priority: high
Relatively urgent; Council should revisit routinely.
resp: StylesheetsGroup
Issue is suitable for the group-learning approach taken in the Stylesheets Coop Working Group.
type: bug
A bug report.
Milestone
A current build-break is (I think) caused by this function from common/functions.xsl:
The issue is that
@versionDate
is now being added to<remarks>
, and<remarks>
are siblings of the<gloss>
es and<desc>
s for the context<*Spec>
element, so (for instance) if you have both a<desc>
and a<remarks>
for the same language with@versionDate
, then a sequence of two items will be retrieved by the function, and the attempt to compare the@versionDate
values will generate an error.I believe the solution is to have the function check the
local-name()
of the element as well as the@versionDate
.The text was updated successfully, but these errors were encountered: