Anthony Pessy created ANY23-374:
-----------------------------------

             Summary: 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


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?

 

 



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

Reply via email to