https://bugzilla.wikimedia.org/show_bug.cgi?id=21681
Summary: XML parsetree output sometimes bogus
Product: MediaWiki
Version: 1.16-svn
Platform: All
URL: http://en.wikpiedia.org/w/index.php?title=Template:Zh-
full&action=edit&oldid=317512308
OS/Version: All
Status: NEW
Severity: minor
Priority: Normal
Component: Templates
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Steps to reproduce:
1. Open
<http://en.wikipedia.org/w/index.php?title=Template:Zh-full&action=edit&oldid=317512308>
and copy the wikitext into the text field at
<http://en.wikipedia.org/wiki/Special:ExpandTemplates>.
2. Check "Show XML parse tree" and press OK
3. Search in the XML output for the string "<comment></comment>"
Note that the output can't be correct, because a comment node must contain at
least the opening "<!--" characters.
A few notes:
- This is not a bug of Special:Expandtemplates, as the api output of
action=expandtemplates is the same.
- It appears to happen only very rarely and for certain input values
- The actual preprocessor output appears to be correct, which is why I suspect
it might be a bug in the ->saveXML function of the DOM XML extension.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l