Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <gerwitzm@lovullo.com>2017-07-07 15:13:21 -0400
committerMike Gerwitz <gerwitzm@lovullo.com>2017-07-07 15:18:20 -0400
commite237ab47f2128f68f03c1a070d4c9d52048b8223 (patch)
tree87dece43bbc3e3a8e02f9e91c07f68e7ef1c6af5
parent68dd0706a8c16caaf7dcf09fd2ed22aa0c5cc124 (diff)
downloadtame-e237ab47f2128f68f03c1a070d4c9d52048b8223.tar.gz
tame-e237ab47f2128f68f03c1a070d4c9d52048b8223.tar.bz2
tame-e237ab47f2128f68f03c1a070d4c9d52048b8223.zip
Recognize meta fields in map
* src/current/compiler/map.xsl (lvmc:validate-ui) [lvm:program-map]: Recognize "meta:"-prefixed meta field ids in map.
-rw-r--r--src/current/compiler/map.xsl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/current/compiler/map.xsl b/src/current/compiler/map.xsl
index 012a945..6b43ecf 100644
--- a/src/current/compiler/map.xsl
+++ b/src/current/compiler/map.xsl
@@ -932,7 +932,9 @@
<variable name="knowns" as="xs:string*"
select="$ui//lvp:question/@id,
$ui//lvp:external/@id,
- $ui//lvp:calc/@id" />
+ $ui//lvp:calc/@id,
+ for $id in $ui//lvp:meta/lvp:field/@id
+ return concat( 'meta:', $id )" />
<!-- get a list of unknown source mappings -->