Axiom and Stax should be doing all the escaping you need. For instance,
if you specify entry.setContent("<foo>"); it should escape the < and >
appropriately. I haven't tested it on any control characters yet.
- James
Steven Isaacson wrote:
> Is there a utility code provided to remove invalid characters from text,
> html or xhtml in the content of an entry? Either in Abdera or in a
> dependency. I know it isn't that hard but it would be nice if I didn't have
> to write it yet again by myself.
>
> Currently I wrote a quick method to esacape the HTML but that doesn't help
> when control characters are present in the HTML.
>
> Thanks,
> -steve
>