fix: normalize d5p1 namespace in info scripts and fix Python IndentationErrors

- meta-info, form-info (PS+PY): recognize dNpN: prefix alongside cfg: in type parsing
- Fix module-level sys.stderr.reconfigure indentation in 9 Python scripts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Nick Shirokov
2026-03-05 12:08:07 +03:00
co-authored by Claude Opus 4.6
parent fde6d346d7
commit 872675652f
11 changed files with 19 additions and 13 deletions
@@ -102,8 +102,8 @@ def format_type(type_node):
parts.append("dateTime")
elif raw == "xs:binary":
parts.append("binary")
elif raw.startswith("cfg:"):
parts.append(raw[4:])
elif raw.startswith("cfg:") or re.match(r'^d\d+p\d+:', raw):
parts.append(re.sub(r'^(?:cfg|d\d+p\d+):', '', raw))
elif raw == "v8:ValueTable":
parts.append("ValueTable")
elif raw == "v8:ValueTree":