BUG: if( tagItr == end ) should also call return and quit, instead of continuing.      if() of dynamic cast was missing an else to deal with the error case.
BUG: if( tagItr == end ) should also call return and quit, instead of continuing.
     if() of dynamic cast was missing an else to deal with the error case.

     This corrections were pointed out by Kris Thielemans in the users list:

     http://public.kitware.com/pipermail/insight-users/2006-September/019460.html

PlutoniumHeart/ITK,hendradarwin/ITK,PlutoniumHeart/ITK,spinicist/ITK,daviddoria/itkHoughTransform,InsightSoftwareConsortium/ITK,jcfr/ITK,stnava/ITK,richardbeare/ITK,atsnyder/ITK,CapeDrew/DCMTK-ITK,hinerm/ITK,biotrump/ITK,biotrump/ITK,itkvideo/ITK,fedral/ITK,blowekamp/ITK,zachary-williamson/ITK,atsnyder/ITK,blowekamp/ITK,hjmjohnson/ITK,spinicist/ITK,vfonov/ITK,CapeDrew/DITK,hinerm/ITK,itkvideo/ITK,itkvideo/ITK,eile/ITK,ajjl/ITK,thewtex/ITK,hjmjohnson/ITK,LucHermitte/ITK,hendradarwin/ITK,GEHC-Surgery/ITK,itkvideo/ITK,wkjeong/ITK,hinerm/ITK,paulnovo/ITK,LucHermitte/ITK,zachary-williamson/ITK,CapeDrew/DCMTK-ITK,itkvideo/ITK,Kitware/ITK,fuentesdt/InsightToolkit-dev,richardbeare/ITK,BlueBrain/ITK,rhgong/itk-with-dom,biotrump/ITK,vfonov/ITK,thewtex/ITK,LucasGandel/ITK,atsnyder/ITK,BlueBrain/ITK,richardbeare/ITK,eile/ITK,biotrump/ITK,paulnovo/ITK,LucHermitte/ITK,msmolens/ITK,blowekamp/ITK,malaterre/ITK,eile/ITK,cpatrick/ITK-RemoteIO,fedral/ITK,eile/ITK,BRAINSia/ITK,paulnovo/ITK,CapeDrew/DITK,heimdali/ITK,InsightSoftwareConsortium/ITK,fbudin69500/ITK,ajjl/ITK,fbudin69500/ITK,zachary-williamson/ITK,stnava/ITK,BlueBrain/ITK,jcfr/ITK,heimdali/ITK,rhgong/itk-with-dom,daviddoria/itkHoughTransform,fuentesdt/InsightToolkit-dev,stnava/ITK,msmolens/ITK,paulnovo/ITK,eile/ITK,itkvideo/ITK,CapeDrew/DITK,itkvideo/ITK,fbudin69500/ITK,atsnyder/ITK,fuentesdt/InsightToolkit-dev,heimdali/ITK,spinicist/ITK,daviddoria/itkHoughTransform,Kitware/ITK,spinicist/ITK,malaterre/ITK,jcfr/ITK,fuentesdt/InsightToolkit-dev,heimdali/ITK,hinerm/ITK,rhgong/itk-with-dom,CapeDrew/DITK,atsnyder/ITK,CapeDrew/DCMTK-ITK,LucasGandel/ITK,richardbeare/ITK,malaterre/ITK,stnava/ITK,thewtex/ITK,msmolens/ITK,richardbeare/ITK,malaterre/ITK,atsnyder/ITK,cpatrick/ITK-RemoteIO,InsightSoftwareConsortium/ITK,fbudin69500/ITK,jmerkow/ITK,InsightSoftwareConsortium/ITK,PlutoniumHeart/ITK,ajjl/ITK,GEHC-Surgery/ITK,hjmjohnson/ITK,CapeDrew/DCMTK-ITK,cpatrick/ITK-RemoteIO,wkjeong/ITK,hendradarwin/ITK,ajjl/ITK,cpatrick/ITK-RemoteIO,jmerkow/ITK,spinicist/ITK,PlutoniumHeart/ITK,Kitware/ITK,BRAINSia/ITK,jmerkow/ITK,GEHC-Surgery/ITK,fedral/ITK,CapeDrew/DITK,msmolens/ITK,vfonov/ITK,PlutoniumHeart/ITK,eile/ITK,ajjl/ITK,LucHermitte/ITK,hjmjohnson/ITK,CapeDrew/DCMTK-ITK,itkvideo/ITK,biotrump/ITK,jmerkow/ITK,vfonov/ITK,malaterre/ITK,hjmjohnson/ITK,fuentesdt/InsightToolkit-dev,wkjeong/ITK,fuentesdt/InsightToolkit-dev,CapeDrew/DCMTK-ITK,fedral/ITK,rhgong/itk-with-dom,cpatrick/ITK-RemoteIO,fbudin69500/ITK,daviddoria/itkHoughTransform,wkjeong/ITK,hinerm/ITK,hinerm/ITK,heimdali/ITK,biotrump/ITK,wkjeong/ITK,LucasGandel/ITK,LucasGandel/ITK,jcfr/ITK,rhgong/itk-with-dom,LucHermitte/ITK,PlutoniumHeart/ITK,hjmjohnson/ITK,cpatrick/ITK-RemoteIO,BlueBrain/ITK,fbudin69500/ITK,CapeDrew/DITK,CapeDrew/DITK,jmerkow/ITK,spinicist/ITK,jcfr/ITK,ajjl/ITK,GEHC-Surgery/ITK,wkjeong/ITK,heimdali/ITK,paulnovo/ITK,ajjl/ITK,CapeDrew/DITK,fuentesdt/InsightToolkit-dev,ajjl/ITK,cpatrick/ITK-RemoteIO,LucHermitte/ITK,GEHC-Surgery/ITK,fedral/ITK,cpatrick/ITK-RemoteIO,LucasGandel/ITK,LucHermitte/ITK,LucHermitte/ITK,stnava/ITK,BRAINSia/ITK,heimdali/ITK,fbudin69500/ITK,heimdali/ITK,BlueBrain/ITK,hinerm/ITK,msmolens/ITK,vfonov/ITK,hendradarwin/ITK,jmerkow/ITK,blowekamp/ITK,rhgong/itk-with-dom,CapeDrew/DCMTK-ITK,LucasGandel/ITK,biotrump/ITK,thewtex/ITK,blowekamp/ITK,BRAINSia/ITK,vfonov/ITK,msmolens/ITK,daviddoria/itkHoughTransform,InsightSoftwareConsortium/ITK,GEHC-Surgery/ITK,jmerkow/ITK,richardbeare/ITK,thewtex/ITK,Kitware/ITK,zachary-williamson/ITK,jmerkow/ITK,fedral/ITK,hendradarwin/ITK,hendradarwin/ITK,eile/ITK,Kitware/ITK,malaterre/ITK,BRAINSia/ITK,CapeDrew/DITK,thewtex/ITK,blowekamp/ITK,eile/ITK,fedral/ITK,spinicist/ITK,daviddoria/itkHoughTransform,malaterre/ITK,daviddoria/itkHoughTransform,hendradarwin/ITK,Kitware/ITK,stnava/ITK,hjmjohnson/ITK,spinicist/ITK,BRAINSia/ITK,BRAINSia/ITK,zachary-williamson/ITK,eile/ITK,LucasGandel/ITK,CapeDrew/DCMTK-ITK,LucasGandel/ITK,stnava/ITK,BlueBrain/ITK,fuentesdt/InsightToolkit-dev,vfonov/ITK,richardbeare/ITK,GEHC-Surgery/ITK,jcfr/ITK,rhgong/itk-with-dom,blowekamp/ITK,itkvideo/ITK,spinicist/ITK,daviddoria/itkHoughTransform,stnava/ITK,daviddoria/itkHoughTransform,InsightSoftwareConsortium/ITK,BlueBrain/ITK,zachary-williamson/ITK,GEHC-Surgery/ITK,atsnyder/ITK,atsnyder/ITK,msmolens/ITK,biotrump/ITK,wkjeong/ITK,wkjeong/ITK,fedral/ITK,paulnovo/ITK,PlutoniumHeart/ITK,zachary-williamson/ITK,malaterre/ITK,atsnyder/ITK,vfonov/ITK,CapeDrew/DCMTK-ITK,malaterre/ITK,zachary-williamson/ITK,vfonov/ITK,Kitware/ITK,thewtex/ITK,fuentesdt/InsightToolkit-dev,rhgong/itk-with-dom,InsightSoftwareConsortium/ITK,paulnovo/ITK,BlueBrain/ITK,hinerm/ITK,paulnovo/ITK,hendradarwin/ITK,hinerm/ITK,jcfr/ITK,jcfr/ITK,zachary-williamson/ITK,stnava/ITK,blowekamp/ITK,msmolens/ITK,PlutoniumHeart/ITK,fbudin69500/ITK