Files
bun.sh/test/js
Claude Bot 8df7389405 Final XML parser improvements: consistent structure with direct text values
Key changes:
- Text-only elements return string directly: "John" instead of {"__text": "John"}
- Mixed content uses __children array only for consistency
- Elements with attributes + text use single-element __children: ["text"]
- Clean structure: pure text → string, mixed content → __children array

Examples:
- <name>John</name> → "John"
- <person><name>John</name></person> → {"name": "John"}
- <person id="1">John</person> → {"id": "1", "__children": ["John"]}
- Mixed content uses __children: [child1, child2, ...]

All 24 main tests passing with cleaner, more intuitive XML parsing.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 09:13:22 +00:00
..
2024-12-12 02:07:29 -08:00
2025-08-27 15:06:26 -07:00
2025-08-27 06:39:11 -07:00
2025-08-22 12:08:42 -07:00
2025-08-27 06:39:11 -07:00