[Bug 24595] wiki/Special:ExportRDF - XML Parsing Error: xml declaration not at start of external entity

2010-08-30 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24595

Markus Krötzsch  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID

--- Comment #2 from Markus Krötzsch  2010-08-30 
13:44:09 UTC ---
The problem might have been due to empty lines at the beginning of the RDF
export. This is caused easily in PHP if loaded php files contain an empty line
after a closing "?>" tag. This can be caused by any of the loaded files, even
if completely unrelated to SMW or the export function. Even LocalSettings.php
can cause this.

The modern way of preventing this is to not have closing ?> at the end of PHP
files at all: no recent MW extension should have closing PHP tags at the end of
its files, but of course there can always be black sheep (or simply very aged
LocalSettings.php that have survived from the age of closing tags).

Anyway, this is not an SMW bug and it is not possible for SMW to fix it (the
empty lines are sent to the browser even before SMW starts the export; SMW
cannot take them back or even check if they are there).

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24595] wiki/Special:ExportRDF - XML Parsing Error: xml declaration not at start of external entity

2010-07-31 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24595

--- Comment #1 from Wolfgang Kraske  2010-07-31 
22:35:54 UTC ---
I reinstalled using 1.16.0, all is well, I do not know whst went wrong but
possibly some other extensions I installed such as custom Nav corrupted the
ExportRDF. I also noticed a lot of modifications in the skin code in mediawiki
release 1.16

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l