You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2013/03/27 17:17:13 UTC

svn commit: r1461688 - in /jena/trunk/jena-fuseki: pages/ src/main/java/org/apache/jena/fuseki/validation/

Author: andy
Date: Wed Mar 27 16:17:13 2013
New Revision: 1461688

URL: http://svn.apache.org/r1461688
Log:
Ensure UTF-8

Modified:
    jena/trunk/jena-fuseki/pages/data-validator.html
    jena/trunk/jena-fuseki/pages/fuseki.html
    jena/trunk/jena-fuseki/pages/iri-validator.html
    jena/trunk/jena-fuseki/pages/query-validator.html
    jena/trunk/jena-fuseki/pages/sparql.html
    jena/trunk/jena-fuseki/pages/update-validator.html
    jena/trunk/jena-fuseki/pages/xml-to-html-links.xsl
    jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/validation/ValidatorBase.java

Modified: jena/trunk/jena-fuseki/pages/data-validator.html
URL: http://svn.apache.org/viewvc/jena/trunk/jena-fuseki/pages/data-validator.html?rev=1461688&r1=1461687&r2=1461688&view=diff
==============================================================================
--- jena/trunk/jena-fuseki/pages/data-validator.html (original)
+++ jena/trunk/jena-fuseki/pages/data-validator.html Wed Mar 27 16:17:13 2013
@@ -17,6 +17,7 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head><title>SPARQLer Data Validator</title>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <link rel="stylesheet" type="text/css" href="fuseki.css" />
   </head>
   <body>

Modified: jena/trunk/jena-fuseki/pages/fuseki.html
URL: http://svn.apache.org/viewvc/jena/trunk/jena-fuseki/pages/fuseki.html?rev=1461688&r1=1461687&r2=1461688&view=diff
==============================================================================
--- jena/trunk/jena-fuseki/pages/fuseki.html (original)
+++ jena/trunk/jena-fuseki/pages/fuseki.html Wed Mar 27 16:17:13 2013
@@ -19,6 +19,7 @@
   <head>
     <title>Fuseki - A SPARQL 1.1 Server</title>
     <link rel="stylesheet" type="text/css" href="fuseki.css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   </head>
 
   <body>

Modified: jena/trunk/jena-fuseki/pages/iri-validator.html
URL: http://svn.apache.org/viewvc/jena/trunk/jena-fuseki/pages/iri-validator.html?rev=1461688&r1=1461687&r2=1461688&view=diff
==============================================================================
--- jena/trunk/jena-fuseki/pages/iri-validator.html (original)
+++ jena/trunk/jena-fuseki/pages/iri-validator.html Wed Mar 27 16:17:13 2013
@@ -16,10 +16,9 @@
 -->
 
 <html xmlns="http://www.w3.org/1999/xhtml">
-  <head><title>SPARQLer Query Validator</title>
-
+  <head><title>SPARQLer IRI Validator</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   <link rel="stylesheet" type="text/css" href="fuseki.css" />
-
   </head>
   <body>
     <h1>SPARQLer IRI Validator</h1>

Modified: jena/trunk/jena-fuseki/pages/query-validator.html
URL: http://svn.apache.org/viewvc/jena/trunk/jena-fuseki/pages/query-validator.html?rev=1461688&r1=1461687&r2=1461688&view=diff
==============================================================================
--- jena/trunk/jena-fuseki/pages/query-validator.html (original)
+++ jena/trunk/jena-fuseki/pages/query-validator.html Wed Mar 27 16:17:13 2013
@@ -17,7 +17,7 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head><title>SPARQLer Query Validator</title>
-
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   <link rel="stylesheet" type="text/css" href="fuseki.css" />
 
   </head>

Modified: jena/trunk/jena-fuseki/pages/sparql.html
URL: http://svn.apache.org/viewvc/jena/trunk/jena-fuseki/pages/sparql.html?rev=1461688&r1=1461687&r2=1461688&view=diff
==============================================================================
--- jena/trunk/jena-fuseki/pages/sparql.html (original)
+++ jena/trunk/jena-fuseki/pages/sparql.html Wed Mar 27 16:17:13 2013
@@ -20,6 +20,7 @@
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head><title>SPARQLer</title>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <link rel="stylesheet" type="text/css" href="fuseki.css" />
   </head>
 

Modified: jena/trunk/jena-fuseki/pages/update-validator.html
URL: http://svn.apache.org/viewvc/jena/trunk/jena-fuseki/pages/update-validator.html?rev=1461688&r1=1461687&r2=1461688&view=diff
==============================================================================
--- jena/trunk/jena-fuseki/pages/update-validator.html (original)
+++ jena/trunk/jena-fuseki/pages/update-validator.html Wed Mar 27 16:17:13 2013
@@ -16,7 +16,7 @@
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head><title>SPARQLer Update Validator</title>
-
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   <link rel="stylesheet" type="text/css" href="fuseki.css" />
 
   </head>

Modified: jena/trunk/jena-fuseki/pages/xml-to-html-links.xsl
URL: http://svn.apache.org/viewvc/jena/trunk/jena-fuseki/pages/xml-to-html-links.xsl?rev=1461688&r1=1461687&r2=1461688&view=diff
==============================================================================
--- jena/trunk/jena-fuseki/pages/xml-to-html-links.xsl (original)
+++ jena/trunk/jena-fuseki/pages/xml-to-html-links.xsl Wed Mar 27 16:17:13 2013
@@ -123,7 +123,7 @@ URIs as hrefs in results : Bob DuCharme 
     -->
      <xsl:variable name="query">SELECT%20%28%3C<xsl:value-of select="$x"/>%3E%20AS%20%3Fsubject%29%20%3Fpredicate%20%3Fobject%20%7B%3C<xsl:value-of select="$x"/>%3E%20%3Fpredicate%20%3Fobject%20%7D</xsl:variable>
     <xsl:text>&lt;</xsl:text>
-    <a href="?query={$query}&amp;output=xml&amp;stylesheet=%2Fxml-to-html.xsl">
+    <a href="?query={$query}&amp;output=xml&amp;stylesheet=%2Fxml-to-html-links.xsl">
     <xsl:value-of select="."/>
     </a>
     <xsl:text>&gt;</xsl:text>

Modified: jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/validation/ValidatorBase.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/validation/ValidatorBase.java?rev=1461688&r1=1461687&r2=1461688&view=diff
==============================================================================
--- jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/validation/ValidatorBase.java (original)
+++ jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/validation/ValidatorBase.java Wed Mar 27 16:17:13 2013
@@ -110,7 +110,8 @@ public abstract class ValidatorBase exte
     {
         outStream.println("<head>") ;
         outStream.println(" <title>"+title+"</title>") ;
-        outStream.println(" <link rel=\"stylesheet\" type=\"text/css\" href=\""+cssFile+"\" />") ;
+        outStream.println("   <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">") ;
+        outStream.println("   <link rel=\"stylesheet\" type=\"text/css\" href=\""+cssFile+"\" />") ;
         //outStream.println() ;
         outStream.println("</head>") ;
     }