https://bugzilla.wikimedia.org/show_bug.cgi?id=24781

--- Comment #13 from Svick <[email protected]> 2011-10-06 12:17:27 UTC ---
Just a note, this really is a breaking change for some parsers. Specifically,
for the one I'm using: LINQ to XML in .Net. It is namespace-aware and when a
namespace is present, it has to be always used.

For example to get the root node, previously you would do:

var elem = document.Element("api");

With the namespace, the previous code wouldn't work and would have to be
changed to:

XNamespace ns = "http://www.mediawiki.org/xml/api/";;
var elem = document.Element(ns + "api");

I'm not arguing against the change (I think it's a good idea), but I wanted to
let you know that it's going to be a breaking change, at least for some people.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to