Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Harald Groven <haraldg@sv...> - 2006-05-02 08:06:51
The "View as RDF" raises an exception=20
XML parsing failed: syntax error (Line: 5, Character: 0)=20
Reparse document as HTML=20
5: <?xml version=3D"1.0" encoding=3D"UTF-8"?>=20
6: <!DOCTYPE rdf:RDF[=20
7: <!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>=20
8: <!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>=20
The "Reparse document as HTML"-link works ok.=20
I'm using mediawiki-1.5.6 with mod_rewrite=20
University of Troms=F8
that's a bug in the latest release (my fault, sorry!). You can either
wait for the next release -- tentatively planned in two weeks -- or
solve it yourself. It is quite simple:
Go to the following files:
[path to SMW]\specials\Relations\SMW_SpecialAttributes.php
[path to SMW]\specials\Relations\SMW_SpecialRelations.php
[path to SMW]\specials\Relations\SMW_SpecialUnusedAttributes.php
[path to SMW]\specials\Relations\SMW_SpecialUnusedRelations.php
In each of this four files, delete the extra newline character at the
end, just after ?> (it is invisible), i.e. the very last character in
the file. Just go to the end, and press delete once. Don't delete the >
, mind you, or else nothing will work.
Save the files.
It should work now.
Sorry for the inconvenience. I hope this fix helps.
Harald Groven wrote:
> The "View as RDF" raises an exception
> XML parsing failed: syntax error (Line: 5, Character: 0)
> Reparse document as HTML
> 5: <?xml version="1.0" encoding="UTF-8"?>
> 6: <!DOCTYPE rdf:RDF[
> 7: <!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
> 8: <!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
> The "Reparse document as HTML"-link works ok.
> I'm using mediawiki-1.5.6 with mod_rewrite