You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@any23.apache.org by "Wes Turner (JIRA)" <ji...@apache.org> on 2014/01/06 07:23:50 UTC

[jira] [Created] (ANY23-174) Incorrect RDFa Lite 1.1 extractions

Wes Turner created ANY23-174:
--------------------------------

             Summary: Incorrect RDFa Lite 1.1 extractions
                 Key: ANY23-174
                 URL: https://issues.apache.org/jira/browse/ANY23-174
             Project: Apache Any23
          Issue Type: Bug
    Affects Versions: 0.9.0
            Reporter: Wes Turner


RDFa Lite 1.1 Test Case
From: http://www.w3.org/TR/rdfa-lite/#vocab--typeof--and-property



Input
--------
$ any23 rover [-e html-rdfa11] -f turtle

<p vocab="http://schema.org/" typeof="Person">
   My name is
   <span property="name">Manu Sporny</span>
   and you can give me a ring via
   <span property="telephone">1-800-555-0199</span>
   or visit 
   <a property="url" href="http://manu.sporny.org/">my homepage</a>.
</p>


Output
-----------
_:node18dj3bhkhx1 a <http://schema.org/Person> ;
	<http://schema.org/name> "Manu Sporny" ;
	<http://schema.org/telephone> "1-800-555-0199" .

<http://manu.sporny.org/> <http://schema.org/url> <http://manu.sporny.org/> .


Expected Output
---------------------------
_:node18dj3bhkhx1 a <http://schema.org/Person> ;
	<http://schema.org/name> "Manu Sporny" ;
	<http://schema.org/telephone> "1-800-555-0199" .
        <http://schema.org/url> <http://manu.sporny.org/> .



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)