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


Tim Starling <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|XML parsetree output        |Elements mysteriously empty
                   |sometimes bogus             |in PPNode_DOM XML
                   |                            |serialization




--- Comment #1 from Tim Starling <[email protected]>  2009-11-29 23:43:14 
UTC ---
I have an alternate test case, not changed by much:

{{xxxxxxxxxxxxxx|x={{{1|}}}}}<!--
-->{{xxxx{{{2|}}}|{{x}} {{xxxxxxxxxxxxxx|x={{{2|}}}}}}}<!--
-->{{xxxx{{{3|}}}|{{x}} {{xxxxxxxxxxxxxx|x={{{3|}}}}}}}<!--
-->{{xxxx{{{4|}}}|{{x}} {{xxxxxxxxxxxxxx|x={{{4|}}}}}}}<!--
-->{{xxxx{{{5|}}}|{{x}} {{xxxxxxxxxxxxxx|x={{{5|}}}}}}}<!--
-->{{xxxx{{{6|}}}|{{x}} {{xxxxxxxxxxxxxx|x={{{6|}}}}}}}<!--
-->{{xxxx{{{7|}}}|{{x}} {{xxxxxxxxxxxxxx|x={{{7|}}}}}}}<!--
-->{{xxxx{{{8|}}}|{{x}} {{xxxxxxxxxxxxxx|x={{{8|}}}}}}}<!--
-->{{xxxx{{{9|}}}|{{x}} {{xxxxxxxxxxxxxx|x={{{9|}}}}}}}<!--
-->{{xxxx{{{10|}}}|{{x}} {{xxxxxxxxxxxxxx|x={{{10|}}}}}}}<!--
-->{{xxxx{{{11|}}}|{{x}} {{xxxxxxxxxxxxxx|x={{{11|}}}}}}}<!--DELETED
-->{{xxxx{{{12|}}}|{{x}} {{xxxxxxxxxxxxxx|x={{{12|}}}}}}}<noinclude>
{{documentation}}
</noinclude>

Note that the bug is sensitive to length and will stop working if you delete or
duplicate lines, or if you change the length of the "xxxxxxxxxxxxxx" template
name by more than a couple of characters. In the output, there is no DELETED
string, that comment becomes empty. 

If this happened in the DOM, instead of on serialization, then it would be
impossible to save this text to the wiki since it would be corrupted during
pre-save transform.


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

Reply via email to