abdera-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Moseley" <...@osafoundation.org>
Subject xml restricted characters
Date Tue, 07 Aug 2007 17:46:07 GMT
whose responsibility is it to account for entry content that contains
characters restricted in xml?

i'm generating an entry with content of type "text/json". the content
contains a control character. the feed is serialized and written to
the output stream with no problems.

my expectation is that an exception would be thrown by the axiom xml
serializer when it encounters a restricted character. should i instead
be detecting them in my content before setting it on the entry? is
there a utility for filtering them out? xml doesn't define any
escaping rules for restricted characters does it?

View raw message