473,326 Members | 2,680 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Should System.Xml.NameTable be deprecated?

There seems to be little interest in this object, the docs are wrong and it
doesn't do much.

Two years ago, it was pointed out that the documentation is nonsensical
(http://groups-beta.google.com/group/...232c4e9c0bdd64)
, the documentation remains unchanged.

The one example that makes any sense at all is found at
http://www.csharpfriends.com/article...eID=309&page=2

But even reading a 52MB file, it provides about a 10% boost.
So, MS, please .. correct the documentation or be rid of it.

Sincerely, Mark B.
Nov 12 '05 #1
2 1499
Mark Bosley wrote:
There seems to be little interest in this object, the docs are wrong and it
doesn't do much.

Two years ago, it was pointed out that the documentation is nonsensical
(http://groups-beta.google.com/group/...232c4e9c0bdd64)
, the documentation remains unchanged.

The one example that makes any sense at all is found at
http://www.csharpfriends.com/article...eID=309&page=2

But even reading a 52MB file, it provides about a 10% boost.
So, MS, please .. correct the documentation or be rid of it.


NameTable is too important to be got rid.

--
Oleg Tkachenko [XML MVP, MCP]
http://blog.tkachenko.com
Nov 12 '05 #2
Hello Mark,

NameTable is a very useful thing to have in XmlTextReader. It makes sure
that each name is allocated only once and that name comparison that is so
often in XML processing can be done efficiently by just comparing string
references instead of doing the full string comparison. Just think how many
string comparisons must be done to implement duplicate attribute checking or
namespace lookups. If we were to allocate a string for each name in the
document, the parser would be waaayyy slower.

Thanks,
Helena Kupkova, Microsoft
"Mark Bosley" <ma********@lightcc.com> wrote in message
news:ee**************@TK2MSFTNGP14.phx.gbl...
There seems to be little interest in this object, the docs are wrong and
it doesn't do much.

Two years ago, it was pointed out that the documentation is nonsensical
(http://groups-beta.google.com/group/...232c4e9c0bdd64)
, the documentation remains unchanged.

The one example that makes any sense at all is found at
http://www.csharpfriends.com/article...eID=309&page=2

But even reading a 52MB file, it provides about a 10% boost.
So, MS, please .. correct the documentation or be rid of it.

Sincerely, Mark B.

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: gf gf | last post by:
I read that lower() is deprecated. Unfortunately, I can't find the preferred way of lowercasing a string. What is it? Thanks PS Please cc me on all responses.
36
by: Jack Hughes | last post by:
This argument has come up two or three times lately. We have a web standards document at our company that say "Use valid HTML 4; We don't recommend switching to DIV-based CSS-P for layout just...
4
by: Colin Savage | last post by:
In my C# application I have an object model which can be loaded and saved into xml, not using serialization. When changes are made to the object model by the user interface, I use another thread to...
3
by: Colin Savage | last post by:
I am trying to work out the best way to use the NameTable class in my C# application. I am assuming that getting/adding a string to the nametable has the same overheads as comparing a string...
2
by: one | last post by:
Hi, can some experts out there tell me why I am getting: An unhandled exception of type 'System.Xml.Xsl.XsltException' occurred in system.xml.dll... (No details in the error dialog box) ...
0
by: Fratt | last post by:
I have an xml document defined by a schema that includes roughtly 1100 types. When I go to deserialize the root type I notice that the xmlSerializer creates the nametable and adds all 1100 types...
5
by: Alexander Gnauck | last post by:
Hello, is there a way to disable or reset the entries in a NameTable? Background is that is that i create small XmlElements and send them over the wire with a TCP connection. I can't create...
10
by: Frank | last post by:
Hi, I am hoping to find out the differences between the System.Net.Mail and System.Web.Mail. Can some nice folks post the differences; or some urls which show the differences? Great Thanks...
3
by: JMD | last post by:
A set of xsd files has been working fine for us at this site, but now it gives *intermittent* errors for someone at a different cite (who is consuming the code we are producing). Most of the time...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.