There were some points peterv raised in his r-'ing a patch for bug
319768 which I need some clarification on.
(1) >+ nsClassHashtable<nsStringHashKey, nsString
mNamespaceURIMap;
>+ nsClassHashtable<nsStringHashKey, nsStringmPrefixMap;
>
>Shouldn't these be nsDataHashTable's?
>
>I thought about that, but per
>#
>it appeared they should be nsClassHashTables.
Then you should change
+ nsDataHashtable<nsStringHashKey, nsStringstepAttrsMap;
Please check with bsmedberg.
Should I use nsClassHashtable or nsDataHashtable?
(2) Is there a better way to do this:
+
+ if (total 1)
+ {
+ currentStep.Append('[');
+ currentStep.AppendInt(index);
+ currentStep.Append(']');
+ }
(3) peterv made a reference to:
aResult.AppendLiteral("\", '\"', \"");
This isn't documented in the XPCM:Strings guide. Any pointers where I
can find documentation on it, and learn how to use it properly?
dev-tech-xpcom mailing list
dev-tech-xpcom (AT) lists (DOT) mozilla.org