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

Hans Brende commented on ANY23-374:
-----------------------------------

The {{FULL_REPORT}} and {{IllegalArgumentException}} issue was fixed in 
ANY23-348. However, there is work we could do to also fix scheme-less urls.

> 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
>            Priority: Minor
>
> 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