any23-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wes Turner (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ANY23-174) Incorrect RDFa Lite 1.1 extractions
Date Mon, 06 Jan 2014 06:23:55 GMT

     [ https://issues.apache.org/jira/browse/ANY23-174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Wes Turner updated ANY23-174:
-----------------------------

    Description: 
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/> .

  was:
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/> .


> 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
>              Labels: rdfa, rdfa-lite
>
> 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)

Mime
View raw message