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

           Summary: XML contains invalid character from page title
           Product: MediaWiki
           Version: unspecified
          Platform: PC
               URL: http://en.wikipedia.org/w/api.php?action=query&format=xm
                    l&list=usercontribs&ucuser=Mgreason&uclimit=500&ucdir=ne
                    wer&ucprop=ids|title&ucstart=2008-07-16T20:03:47Z
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


Some characters permitted in page titles are invalid XML characters, but titles
are embedded directly in XML attributes. For example, the article "Wolfson
Children’s Hospital" on English Wikipedia is included in this contributions
listing:

http://en.wikipedia.org/w/api.php?action=query&format=xml&list=usercontribs&ucuser=Mgreason&uclimit=500&ucdir=newer&ucprop=ids|title&ucstart=2008-07-16T20:03:47Z

A strict XML parser will reject this XML because the character "’" is
invalid. Attributes containing titles containing special characters need to be
escaped.


-- 
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