Re: Test cases for parseType="Literal"

>>>Art Barstow said:
> To help ground the discussions about Literals, I created the 
> attached test cases and ran the tests against the following 
> parsers that support N-Triples output via a shell:
> 
> 3. Raptor - 0.9.3:
> 
> Results:
>  
> o test001, test002, test003 - each parser generated the same triple for
>  these test cases:
> 
>  <http://www.example.org> <http://example.org/property> "well-formed XML" .

...

> o test004 - the gist of this test case is:
> 
>    <rdf:Description rdf:about="http://www.example.org">
>     <eg:property rdf:parseType="Literal"><em>emphasis</em></eg:property>
>    </rdf:Description>
> 

...
>  Raptor: <http://www.example.org> <http://example.org/property> <(null)> .

That would be a bug.  

Raptor should serialise parseType literal content to a big string.

Dave

Received on Thursday, 11 October 2001 06:50:52 UTC