[redland-dev] [Raptor RDF Parsing and Serializing Library 0000310]: Raptor does not like single character namespaces with RDFa

Mantis Bug Tracker mantis-bug-sender at librdf.org
Mon Aug 10 18:58:22 CEST 2009


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=310 
====================================================================== 
Reported By:                istewartson
Assigned To:                
====================================================================== 
Project:                    Raptor RDF Parsing and Serializing Library
Issue ID:                   310
Category:                   api
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Parsing/Serializing Syntax:  
====================================================================== 
Date Submitted:             2009-08-10 16:58
Last Modified:              2009-08-10 16:58
====================================================================== 
Summary:                    Raptor does not like single character namespaces
with RDFa
Description: 
The Raptor library does not like namespaces with local names of single
character length.  The Test URL I used was:
http://argot-hub.googlecode.com/svn/trunk/_samples/dcms/consultation-world-heritage.html.
 But we have seen it on other URLs.

The output from Raptor 1.4.19, using rapper, is

_:bnode5
<http://argot-hub.googlecode.com/svn/trunk/_samples/dcms/consultation-world-heritage.htmlv>
"SW1Y 5DH" .

The same URL using W3C distiller web page generates:

_:ejMaavav8 <http://www.w3.org/2006/vcard/ns#postal-code> "SW1Y 5DH".

a local copy of the URL to make the vcard namespace at least two
characters, it seems to work - changing:

xmlns:v="http://www.w3.org/2006/vcard/ns#"

to 

xmlns:vc="http://www.w3.org/2006/vcard/ns#"

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-10 16:58 istewartson    New Issue                                    
======================================================================



More information about the redland-dev mailing list