Re: Test Case #116 (v2): XML Entities must be supported by RDFa parser

Manu,

I'm not sure if this test is testing for a full list of entities, although I
don't know what it should be limited to.

            Sergey


On Thu, Nov 20, 2008 at 5:14 PM, Manu Sporny <msporny@digitalbazaar.com>wrote:

>
> Purpose:
>
> This test case was proposed by Ivan Herman and refined by Toby Inkster.
> It tests to make sure that XML Entities are treated properly by the RDFa
> parser.
>
> ====================== Test Case 116 =============================
>
> ---------------------Test Case 116 XHTML--------------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
>   "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
>   <html xmlns="http://www.w3.org/1999/xhtml"
>         xmlns:ex="http://www.example.com/">
>   <head>
>     <title>Test Case 116</title>
>   </head>
>   <body>
>      <p>Description: XML entities in the RDFa content</p>
>      <p>
>        <span property="ex:entity">&lt;string&gt;</span>
>        <span property="ex:entity">Ben &amp; Co.</span>
>        <span property="ex:entity">&#x40;</span>
>        <span property="ex:entity">&#64;</span>
>      </p>
>   </body>
> </html>
> ------------------------------------------------------------------
>
> ---------------------Test Case 116 SPARQL -----------------------
> ASK WHERE {
> <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0116.xhtml>
>   <http://www.example.com/entity>
>      "<string>" .
> <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0116.xhtml>
>   <http://www.example.com/entity>
>      "Ben & Co." .
> <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0116.xhtml>
>   <http://www.example.com/entity>
>      "@" .
> <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0116.xhtml>
>   <http://www.example.com/entity>
>      "@" .
> }
> -----------------------------------------------------------------
>
> -- manu
>
> --
> Manu Sporny
> President/CEO - Digital Bazaar, Inc.
>
> blog: POSIX Threads Don't Scale Past 100K Concurrent Web Requests
> http://blog.digitalbazaar.com/2008/09/30/scaling-webservices-part-1
>
> blog: Fibers are the Future: Scaling Past 100K Concurrent Web Requests
> http://blog.digitalbazaar.com/2008/10/21/scaling-webservices-part-2
>
>
>
>
>
>


-- 
Sergey Chernyshev
http://www.sergeychernyshev.com/

Received on Monday, 24 November 2008 16:43:09 UTC