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

           Summary: xml validation of generated rdf fails at !ENTITY
                    declaration  because of incorrect url coding in
                    localized name of "Special"
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Semantic MediaWiki
        AssignedTo: mar...@semantic-mediawiki.org
        ReportedBy: barat...@gmail.com


MediaWiki      1.15.4
PHP     5.2.6-1+lenny8 (apache2handler)
MySQL     5.0.51a-24

Semantic MediaWiki  (verzió: 1.5.0_0)

Steps to reproduce: 
1.
Install MediaWiki
!>>set Hungarian as the language of the wiki<<!
----------------------
2.
Install Semantic Mediawiki extensions
--------------------------
3.
export rdf of the main page (I do it with "Semantic Radar" Firefox extension )

<link rel="alternate" type="application/rdf+xml" title="Speciális:Névjegy"
href="/Z/index.php?title=Speci%C3%A1lis:ExportRDF/Speci%C3%A1lis:N%C3%A9vjegy&amp;xmlmime=rdf"
/>
=====================================
result:
XML validation  of generated RDF fails

details:
------------------
-Fatal Error Messages
FatalError: The parameter entity reference "%C3;" must end with the ';'
delimiter.[Line = 7, Column = 56]
-------------------------------------------------
-The original RDF/XML document

1: <?xml version="1.0" encoding="UTF-8"?>
2: <!DOCTYPE rdf:RDF[
3:     <!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
4:     <!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
5:     <!ENTITY owl 'http://www.w3.org/2002/07/owl#'>
6:     <!ENTITY swivt 'http://semantic-mediawiki.org/swivt/1.0#'>
7:     <!ENTITY wiki
'http://zolta.homelinux.org/Z/w/Speci%C3%A1lis:URIResolver/'>
8:     <!ENTITY property
'http://zolta.homelinux.org/Z/w/Speci%C3%A1lis:URIResolver/Property-3A'>
9:     <!ENTITY wikiurl 'http://zolta.homelinux.org/Z/w/'>
10: ]>
11: 
12: <rdf:RDF
13:     xmlns:rdf="&rdf;"
14:     xmlns:rdfs="&rdfs;"
15:     xmlns:owl ="&owl;"
16:     xmlns:swivt="&swivt;"
17:     xmlns:wiki="&wiki;"
18:     xmlns:property="&property;">
19:     <!-- Ontology header -->
20:     <owl:Ontology rdf:about="&wikiurl;Speci%C3%A1lis:ExportRDF/KezdQlap">
21:         <swivt:creationDate
rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime";>2010-07-02T16:18:23+02:00</swivt:creationDate>
22:         <owl:imports rdf:resource="http://semantic-mediawiki.org/swivt/1.0";
/>
23:     </owl:Ontology>

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

Reply via email to