[redland-dev] [Raptor RDF Parsing and Serializing Library 0000306]: rapper doesn't handle datatype=""and xml:lang="" properly with RDFa

Mantis Bug Tracker mantis-bug-sender at librdf.org
Mon Jul 20 17:07:32 CEST 2009


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=306 
====================================================================== 
Reported By:                masaka
Assigned To:                
====================================================================== 
Project:                    Raptor RDF Parsing and Serializing Library
Issue ID:                   306
Category:                   utilities
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Parsing/Serializing Syntax: RDFa 
====================================================================== 
Date Submitted:             2009-07-20 15:07
Last Modified:              2009-07-20 15:07
====================================================================== 
Summary:                    rapper doesn't handle  datatype=""and xml:lang=""
properly with RDFa
Description: 
RDFa spec 6.3.1.3 says "there will be situations where the extra mark-up
means nothing, and can therefore be ignored. In this situation an empty
@datatype value can be used to override the XML literal behaviour", but
rapper always generates XML literal when there are child elements.

Also, XML spec 2.12 says "the empty value of xml:lang is used on an
element B to override a specification of xml:lang on an enclosing element
A, without specifying another language. Within B, it is considered that
there is no language information available", so xml:lang="" should cancel
ancestor language information, but rapper gererates lang tag even with
xml:lang="".

(same case for version 1.4.19)
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-20 15:07 masaka         New Issue                                    
2009-07-20 15:07 masaka         Parsing/Serializing Syntax => RDFa            
======================================================================



More information about the redland-dev mailing list