[Mono-devel-list] Patch idea for previous message
atsushi at ximian.com
Mon Jun 6 09:51:21 EDT 2005
This is offtopic (I've replied for the main story yet), but
> + if (string.Compare(attribute, value, true) == 0)
> + return;
you'd like to be careful to use String.Compare() since it is
culture-sensitive comparison by default. In that case,
CompareOrdinal() leads you to the right way.
We don't use collation now but it will be supported in the
near future (I hope ;-)
Maybe I need to audit those culture-sensitive things on all
the libraries, including sys.xml (I once did in response
to Jackson's advisory but I think we need further check).
More information about the Mono-devel-list