XmlContext::NamespacePrefixes: Wrong datatype?

SyntaxEditor Web Languages Add-on for Windows Forms Forum

Posted 17 years ago by gardea
Version: 4.0.0256
Platform: .NET 2.0
Environment: Windows XP (32-bit)
You've used StringDictionary as its datatype. However, there's a catch there: as per .NET API doc, "The key is handled in a case-insensitive manner; it is translated to lowercase before it is used with the string dictionary.". This is not OK for XML which is case sensitive. So if I am trying to lookup a namespace, say http://www.w3.org/2001/XMLSchema, it won't work unless I lower it. Which should not be the case. Thank you.

Comments (1)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Good point, do you think switching to a HybridDictionary would be the best solution? It appears there are numerous places in the XML code that use the StringDictionary so all these would need to be changed.

Actipro Software Support

The latest build of this product (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.