[redland-dev] [Raptor RDF Syntax Library 0000548]: xml:lang inside rdf:parseType="Literal" are removed in parsed output

Mantis Bug Tracker mantis-bug-sender at librdf.org
Wed Jul 24 03:55:40 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=548 
====================================================================== 
Reported By:                csarven
Assigned To:                
====================================================================== 
Project:                    Raptor RDF Syntax Library
Issue ID:                   548
Category:                   api
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Syntax Name:                 
====================================================================== 
Date Submitted:             2013-07-24 07:55
Last Modified:              2013-07-24 07:55
====================================================================== 
Summary:                    xml:lang inside rdf:parseType="Literal" are removed
in parsed output
Description: 
$ rapper --version
2.0.10 GIT 61474b69f28438d3c8752d8fbebe381b79a964cd

XMLLiterals which contain xml:lang are not in the parsed output.

Steps to Reproduce: 
Given the following RDF/XML:

<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:dcterms="http://purl.org/dc/terms/"
         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about="http://example.org/foo">
      <dcterms:description rdf:parseType="Literal">
         <div xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
            <p>Hello World</p>
         </div>
      </dcterms:description>
  </rdf:Description>
</rdf:RDF>

Parsed output is:

<http://example.org/foo> <http://purl.org/dc/terms/description> "\n         <div
xmlns=\"http://www.w3.org/1999/xhtml\">\n            <p>Hello World</p>\n       
 </div>\n      "^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-07-24 07:55 csarven        New Issue                                    
======================================================================



More information about the redland-dev mailing list