jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1411737 - /jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/Langs.java
Date Tue, 20 Nov 2012 16:49:21 GMT
Author: andy
Date: Tue Nov 20 16:49:21 2012
New Revision: 1411737

URL: http://svn.apache.org/viewvc?rev=1411737&view=rev
Log:
Maybe handle XML MIME types as RDF/XML.

Modified:
    jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/Langs.java

Modified: jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/Langs.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/Langs.java?rev=1411737&r1=1411736&r2=1411737&view=diff
==============================================================================
--- jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/Langs.java (original)
+++ jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/Langs.java Tue Nov 20 16:49:21
2012
@@ -195,7 +195,10 @@ public class Langs
     {
         // RDF/XML
         addTripleSyntax$(langRDFXML, WebContent.contentTypeRDFXML, pfTriples,       "rdf",
"owl", "xml") ;
-        
+        // ?? Add application/xml and text/xml -- not sure if that's a good idea or not.
+//        addContentTypeLang$(WebContent.contentTypeXML1, langRDFXML) ;
+//        addContentTypeLang$(WebContent.contentTypeXML2, langRDFXML) ;
+                            
         // Turtle
         addTripleSyntax$(langTurtle, WebContent.contentTypeTurtle, pfTriples,       "ttl")
;
         addContentTypeLang$(WebContent.contentTypeTurtleAlt1, langTurtle) ;



Mime
View raw message