Software /
code /
prosody
Diff
util/datamapper.lua @ 11451:ee4f2296e7df
util.datamapper: Add references with notes
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 10 Mar 2021 00:19:38 +0100 |
parent | 11439:9abcdfdcdb01 |
child | 11453:f0037234b2e9 |
line wrap: on
line diff
--- a/util/datamapper.lua Wed Mar 10 00:18:39 2021 +0100 +++ b/util/datamapper.lua Wed Mar 10 00:19:38 2021 +0100 @@ -41,10 +41,13 @@ if propschema.xml.attribute then is_attribute = true elseif propschema.xml.text then + is_text = true elseif propschema.xml.x_name_is_value then + name_is_value = true elseif propschema.xml.x_single_attribute then + single_attribute = propschema.xml.x_single_attribute end end