[ 
https://issues.apache.org/jira/browse/ANY23-374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16564189#comment-16564189
 ] 

Hudson commented on ANY23-374:
------------------------------

SUCCESS: Integrated in Jenkins build Any23-trunk #1602 (See 
[https://builds.apache.org/job/Any23-trunk/1602/])
ANY23-374 fix schemeless microdata urls (Hans: rev 
d283d70ceb692cacb1f31659ee5d5c987822028f)
* (edit) 
core/src/test/java/org/apache/any23/extractor/microdata/MicrodataExtractorTest.java
* (add) 
test-resources/src/test/resources/microdata/microdata-missing-scheme.html
* (edit) core/src/main/java/org/apache/any23/extractor/microdata/ItemScope.java


> Invalid nested item takes out everything
> ----------------------------------------
>
>                 Key: ANY23-374
>                 URL: https://issues.apache.org/jira/browse/ANY23-374
>             Project: Apache Any23
>          Issue Type: Improvement
>          Components: extractors, microdata
>    Affects Versions: 2.2
>            Reporter: Anthony Pessy
>            Assignee: Hans Brende
>            Priority: Minor
>             Fix For: 2.3
>
>
> I encountered an item such as:
> {code:java}
> <div itemscope itemtype="http://schema.org/Question";>
>     <h3 itemprop="name">Name</h3>
>     <div itemprop="acceptedAnswer" itemscope itemtype="schema.org/Answer">
>       <p itemprop="text">Text</p>
>    </div>
> </div>
> {code}
>  
> Because of the invalid answer, it throws an `IllegalArgumentException` (not a 
> `MicrodataParserException` !) and I do not even have the Question available.
> Now, because I let the default `FULL_REPORT` as `ErrorMode` I was expecting 
> to have the question and `getErrors()` returning eventual encountered errors.
> Am I missing something?
>  
> Edit:
>  
> Note that Google testing tool is somehow not complaining (maybe it should?):
>   
> https://search.google.com/structured-data/testing-tool/u/0/#url=https%3A%2F%2Froams.es%2Ffreedompop%2F
>   



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to