@@ -141,42 +141,42 @@ function getHTMLForm( $requestData, $user ) {
141141 */
142142 public function getExampleRDFXMLData () {
143143 return '<rdf:RDF \\n\
144- xmlns:rdf= \\"http://www.w3.org/1999/02/22-rdf-syntax-ns# \\" \\n\
145- xmlns:cd= \\"http://www.recshop.fake/cd# \\" \\n\
146- xmlns:countries= \\"http://www.countries.org/onto/ \\" \\n\
147- xmlns:rdfs= \\"http://www.w3.org/2000/01/rdf-schema# \\" \\n\
148- xmlns:cat= \\"http://www.w3.org/1999/02/22-rdf-syntax-ns# \\" \\n\
149- > \\n\
150- \\n\
151- <rdf:Description \\n\
152- rdf:about= \\"http://www.recshop.fake/cd/Empire Burlesque \\"> \\n\
153- <cd:artist>Bob Dylan</cd:artist> \\n\
154- <cd:country rdf:resource= \\"http://www.countries.org/onto/USA \\"/> \\n\
155- <cd:company>Columbia</cd:company> \\n\
156- <cd:price>10.90</cd:price> \\n\
157- <cd:year>1985</cd:year> \\n\
158- <cat:type>Album</cat:type> \\n\
159- </rdf:Description> \\n\
160- \\n\
161- <rdf:Description \\n\
162- rdf:about= \\"http://www.recshop.fake/cd/Hide your heart \\"> \\n\
163- <cd:artist>Bonnie Tyler</cd:artist> \\n\
164- <cd:country>UK</cd:country> \\n\
165- <cd:company>CBS Records</cd:company> \\n\
166- <cd:price>9.90</cd:price> \\n\
167- <cd:year>1988</cd:year> \\n\
168- <cat:type>Album</cat:type> \\n\
169- </rdf:Description> \\n\
170- \\n\
171- <rdf:Description \\n\
172- rdf:about= \\"http://www.countries.org/onto/USA \\"> \\n\
173- <rdfs:label>USA</rdfs:label> \\n\
174- </rdf:Description> \\n\
175- \\n\
176- <rdf:Description rdf:about= \\"http://www.countries.org/onto/Albums \\"> \\n\
177- <rdfs:subClassOf rdf:resource= \\"http://www.countries.org/onto/MediaCollections \\"/> \\n\
178- </rdf:Description> \\n\
179- </rdf:RDF> ' ;
144+ xmlns:rdf= \\"http://www.w3.org/1999/02/22-rdf-syntax-ns# \\" \\n\
145+ xmlns:cd= \\"http://www.recshop.fake/cd# \\" \\n\
146+ xmlns:countries= \\"http://www.countries.org/onto/ \\" \\n\
147+ xmlns:rdfs= \\"http://www.w3.org/2000/01/rdf-schema# \\" \\n\
148+ xmlns:cat= \\"http://www.w3.org/1999/02/22-rdf-syntax-ns# \\" \\n\
149+ > \\n\
150+ \\n\
151+ <rdf:Description \\n\
152+ rdf:about= \\"http://www.recshop.fake/cd/Empire Burlesque \\"> \\n\
153+ <cd:artist>Bob Dylan</cd:artist> \\n\
154+ <cd:country rdf:resource= \\"http://www.countries.org/onto/USA \\"/> \\n\
155+ <cd:company>Columbia</cd:company> \\n\
156+ <cd:price>10.90</cd:price> \\n\
157+ <cd:year>1985</cd:year> \\n\
158+ <cat:type>Album</cat:type> \\n\
159+ </rdf:Description> \\n\
160+ \\n\
161+ <rdf:Description \\n\
162+ rdf:about= \\"http://www.recshop.fake/cd/Hide your heart \\"> \\n\
163+ <cd:artist>Bonnie Tyler</cd:artist> \\n\
164+ <cd:country>UK</cd:country> \\n\
165+ <cd:company>CBS Records</cd:company> \\n\
166+ <cd:price>9.90</cd:price> \\n\
167+ <cd:year>1988</cd:year> \\n\
168+ <cat:type>Album</cat:type> \\n\
169+ </rdf:Description> \\n\
170+ \\n\
171+ <rdf:Description \\n\
172+ rdf:about= \\"http://www.countries.org/onto/USA \\"> \\n\
173+ <rdfs:label>USA</rdfs:label> \\n\
174+ </rdf:Description> \\n\
175+ \\n\
176+ <rdf:Description rdf:about= \\"http://www.countries.org/onto/Albums \\"> \\n\
177+ <rdfs:subClassOf rdf:resource= \\"http://www.countries.org/onto/MediaCollections \\"/> \\n\
178+ </rdf:Description> \\n\
179+ </rdf:RDF> ' ;
180180 }
181181
182182 /**
@@ -284,12 +284,12 @@ function showDataFields() {
284284 <td>
285285 <select id="dataformat" name="dataformat">
286286 <option value="turtle" selected="selected">Turtle</option>
287- <!-- option value="rdfxml">RDF/XML</option -- >
287+ <option value="rdfxml">RDF/XML</option>
288288 </select>
289289 </td>
290- <td style="text-align: right; font-size: 10px;">
291- <!-- TEMPORARILY DISABLED DUE TO NON-RESOLVED BUGS: [<a href="#" onClick="pasteExampleRDFXMLData( \'importdata \');">RDFXML example data </a>] -->
292- [<a href="#" onClick="pasteExampleTurtleData( \'importdata \');"> ' . wfMessage ( 'rdfio-paste-example-data ' )->parse () . '</a>]
290+ <td style="text-align: right; font-size: 10px;"> ' . wfMessage ( ' rdfio-paste-example-data ' )-> parse () . '
291+ [<a href="#" onClick="pasteExampleRDFXMLData( \'importdata \');"> ' . wfMessage ( ' rdfio-rdfxml-format ' )-> parse () . ' </a>]
292+ [<a href="#" onClick="pasteExampleTurtleData( \'importdata \');"> ' . wfMessage ( 'rdfio-turtle-format ' )->parse () . '</a>]
293293 [<a href="#" onClick="document.getElementById( \'importdata \').value = \'\';"> ' . wfMessage ( 'rdfio-clear ' )->parse () . '</a>]
294294 </td>
295295 </tr>
0 commit comments