mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 20:09:04 +00:00
- Add XMLObject.zig API wrapper following YAML pattern - Add xml.zig parser using Expr AST like YAML - Add XML to BunObject hash table and exports - Add XML to interchange.zig and api.zig Currently debugging parsing issue where 'Expected <' error occurs even with simple XML like '<a>b</a>'. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
8 lines
185 B
JavaScript
8 lines
185 B
JavaScript
console.log("Simple XML test...");
|
|
|
|
try {
|
|
const result = Bun.XML.parse("<a>b</a>");
|
|
console.log("Result:", result);
|
|
} catch (e) {
|
|
console.log("Error message:", e.message);
|
|
} |