Output for the item Example

 

When you build and run the item code, you will get the following output.

errorItem[0]: Element 'review' is unexpected according to content model of parent element 'book'.  
Expecting: price.  
  
errorItem[1]: Element 'review' is unexpected according to content model of parent element 'book'.  
Expecting: pub_date.  

Show: