[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bugs #10853] XmlTextReader does not translate entitie
From: |
Erich Kitzmüller |
Subject: |
[Pnet-developers] [bugs #10853] XmlTextReader does not translate entities in values |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7) Gecko/20040803 Firefox/0.9.3 |
This mail is an automated notification from the bugs tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[bugs #10853] Latest Modifications:
Changes by:
Erich Kitzmüller <address@hidden>
'Date:
Sam 06.11.2004 at 23:29 (GMT)
------------------ Additional Follow-up Comments ----------------------------
Strange. The property XmlTextReader.Normalization is responsible for that, and
default is false (MSDN says so). So, what portable.net does, is correct. (if I
insert "xr.Normalization = true;" in the example, it works).
But Mono shows a different behaviour, and I'm quite sure so does MS .net.
/**************************************************************************/
[bugs #10853] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10853>
Project: DotGNU Portable.NET
Submitted by: Erich Kitzmüller
On: Mon 01.11.2004 at 01:31
Category: None
Severity: 5 - Average
Item Group: None
Resolution: None
Privacy: Public
Assigned to: None
Status: Open
Summary: XmlTextReader does not translate entities in values
Original Submission: See the following example; it should output "nächster",
but outputs "nächster"
using System.Xml;
using System.IO;
using System;
public class XmlDemo {
public static void Main() {
StringReader sr = new StringReader("<x
value="nächster"/>");
XmlTextReader xr = new XmlTextReader (sr);
xr.Read();
xr.MoveToAttribute("value");
Console.Out.WriteLine(xr.Value);
}
}
Follow-up Comments
------------------
-------------------------------------------------------
Date: Sam 06.11.2004 at 23:29 By: Erich Kitzmüller <ammoq>
Strange. The property XmlTextReader.Normalization is responsible for that, and
default is false (MSDN says so). So, what portable.net does, is correct. (if I
insert "xr.Normalization = true;" in the example, it works).
But Mono shows a different behaviour, and I'm quite sure so does MS .net.
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=10853>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Pnet-developers] [bugs #10853] XmlTextReader does not translate entities in values,
Erich Kitzmüller <=