https://bugzilla.wikimedia.org/show_bug.cgi?id=27773
--- Comment #5 from Ariel T. Glenn <[email protected]> 2011-03-30 14:25:40 UTC --- (Yes, the XML files have <text xml:space="preserve"> in them.) I had a look at the output we get from ExternalStore::fetchFromURL() The text we get back has a newline after the final parenthesis. That text is 8884 bytes long, which matches the rev_len recorded in the revision table and in the XML dump file. When I apply the various conversions for & < > " and strip the ^Ms I get the byte count of the text entry in the xml file: 8930. When I do the same conversions for the json format (for " \r \n and /) I come up one byte longer, 9160, than the actual json output text, 9159. My conclusion is that the json formatter or perhaps generally the API loses that newline at the end. -- 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
