Yes, there is very good reason. And that reason is that the spec says so :-)
So this one is a 'working as designed' in this case. If you look at the end
of the spec, it shows the lists of characters that are valid. Only a few of
the traditional control chars (< 32 in ASCII) are permitted. You cannot use
them, even if escaped via char refs I don't think, as regular character
content.
--------------
Dean Roddey
Software Geek Extraordinaire
Portal, Inc
[EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 3:17 PM
To: [EMAIL PROTECTED]
Subject: [Bug 1203] New - Control chars as element content cause SAX
fatalError event
+ While it may be an abomination to think of sloshing around control
characters
+ as XML element character content (shudder), my read of XML 1.0 BNF
production
+ rules 39, 43, and 15 is such that only '<', '&', and ']]>' are invalid as
+ element character content (e.g. w/o escaping as < & and ]]>
+ respectively).
+
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]