Hi Roan, Thanks for the infos. As I pointed out in an other thread, it's completely breaking my own tool.
XPath expressions with or without default namespaces are completely different, and I don't find a way to deal properly with both 1.17 and 1.18 API. Googling for "XPath default namespace" returns a lot of pages where it's explained that code has to be modified to parse XML documents with a default namespace, and the parsing is different if you don't have a default namespace. Nico On Thu, Oct 6, 2011 at 1:47 PM, Roan Kattouw <[email protected]> wrote: > Per https://bugzilla.wikimedia.org/show_bug.cgi?id=24781 , the XML > output returned by the API has a namespace since 1.18. > > 1.17: <api> > 1.18: <api xmlns="http://www.mediawiki.org/xml/api/"> > > Apparently this breaks for some people using XPATH expressions, > although comments on Bugzilla indicated this shouldn't be the case, > and since I don't know anything about XML namespaces I trusted my > fellow MW devs who said it wouldn't be a problem :) > > Roan > > _______________________________________________ > Mediawiki-api-announce mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce > > _______________________________________________ > Mediawiki-api mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-api >
_______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
