Output for the reset Example

 

When you build and run the reset example, you will get the following output.

errorItem: Element 'review' is unexpected according to content model of parent element 'book'.  
Expecting: price.  
  
errorItem: Element 'review' is unexpected according to content model of parent element 'book'.  
Expecting: pub_date.  
  
errorItem (reset): Element 'review' is unexpected according to content model of parent element 'book'.  
Expecting: price.