XLSForm / pyxform

A Python package to create XForms for ODK Collect.
BSD 2-Clause "Simplified" License
77 stars 134 forks source link

Show more helpful message if form contains a group with name meta #619

Open lognaturel opened 1 year ago

lognaturel commented 1 year ago

Similar to https://github.com/XLSForm/pyxform/issues/510 and inspired by this forum post.

It's not explicit that pyxform will generate a meta block. Because it does, there's a cryptic conflict error when a user tries to introduce another one. The error message should say that there's a system-generated meta block.

This is related to https://github.com/XLSForm/pyxform/issues/105. If the system-generated meta block were properly namespaced and all clients correctly respected namespaces, this wouldn't be an issue.