[Mono-bugs] [Bug 560838] XPathEditableDocument WriteRaw implementation

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Dec 4 11:46:12 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=560838

http://bugzilla.novell.com/show_bug.cgi?id=560838#c2


--- Comment #2 from Adriaan van Kekem <avkekem at hotmail.com> 2009-12-04 17:46:10 CET ---
(From update of attachment 331083)
>209c209,222
>< 			throw new NotSupportedException ();
>---
>> 			XmlReader reader = new XmlTextReader(new System.IO.StringReader(raw));
>> 			WriteRaw(reader);
>> 		}
>> 
>> 		private void WriteRaw(XmlReader reader)
>> 		{
>> 			if (reader != null && reader.NodeType == XmlNodeType.Element)//eventually throw a notimplementedexception for all other node types
>> 			{
>> 				WriteStartElement (reader.Prefix, reader.LocalName, reader.NamespaceURI);
>> 				WriteAttributes (reader, true);
>> 				WriteRaw (reader.ReadSubtree ());
>> 				WriteEndElement ();
>> 
>> 			}

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list