---
title: "Discussion on \"The DataWeave <~ Operator: How Angle Brackets Broke 200 Orders\" | Hashnode"
description: "Discussion on \"The DataWeave <~ Operator: How Angle Brackets Broke 200 Orders\". A customer typed \"\" in their notes field. It broke 200 XML orders and I spent 3 hours finding a one-line fix.\nTL;DR\n\nUser-generated text with angle brackets (<, >) breaks XML output — the parser treats them as tags\nThe <~ metadata operator with {cdat..."
url: "https://hashnode.com/posts/the-dataweave-operator-how-angle-brackets-broke-200-orders/69d256de20596fe1713e5b32"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The DataWeave <~ Operator: How Angle Brackets Broke 200 Orders](https://thasha.hashnode.dev/the-dataweave-operator-how-angle-brackets-broke-200-orders?utm_source=hashnode&utm_medium=feed)

A customer typed "" in their notes field. It broke 200 XML orders and I spent 3 hours finding a one-line fix. TL;DR User-generated text with angle brackets (<, >) breaks XML output — the parser treats them as tags The <~ metadata operator with {cdat...

Apr 5 · 3 min read · thasha.hashnode.dev  
Read the article

## Written by

[ThaSha](https://hashnode.com/@thasha)

@thasha

  
[View profile](https://hashnode.com/@thasha)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
