RE: [xml-dev] How to handle "newline" characters in an XML parser.

From
Michael Kay <>
To
'Richard Salz' <>
Date
2006-12-11T19:27:31
ID
<01d501c71d5a$674a8e70$6401a8c0@turtle>
Thread
RE: [xml-dev] How to handle "newline" characters in an XML parser.
> Well that's not quite right; since he is defining a subset, 
> any XML-reading tools should work fine; there might be 
> problems with XML-writing tools, but a minor post-processing 
> edit seems likely to clean that up.

We're seeing a lot of traffic at the moment from people asking for tweaks to
serializers to make them avoid using constructs that recipients can't
handle. For example, there's a thread on the JDOM list from someone who
can't cope with CDATA sections (banned apparently because they are deemed a
security risk!), and I had one recently on the Saxon list from someone who
wanted particular line endings, and another not so long ago from someone who
didn't want empty element minimization. Minor post-processing edits seem to
be beyond the skill level of the people raising these posts; and they
shouldn't be necessary. People should accept XML. I intend to continue
responding to such requests with "tell your customer to install a real XML
parser".

Michael Kay
http://www.saxonica.com/