You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-user@logging.apache.org by Mike Blake-Knox <mi...@gmail.com> on 2005/04/11 15:16:15 UTC

OT - xml version 1.1 and XmlTextWrite/XmlTextReader

In http://issues.apache.org/jira/browse/LOG4NET-22,  Nicko Cadell wrote: 

>  The System.Xml.XmlTextWriter does not know which version XML is being generated. 

When I did some testing on it, I found that neither
(XmlTextWrite/XmlTextReader) handled <?xml version="1.1"
standalone="yes"?>. Is there actually a means for either to use XML
Version 1.1?

My work around was to use XML 1.0 with an ad-hoc mechanism to escape
control characters.

-- 
Mike Blake-Knox