Skinning How To/Viewer crash causes

Introduction

The viewer doesn't give any feedback when it crashes due to a skinning error, so it's best keep in mind any recent changes you make and go back over them if you do end up encountering a viewer crash.

Causes of crashes

If the viewer crashes on startup or while opening any specific element of the viewer, do a thorough xml check of all the files associated with that element. Chances are some error slipped in.

Common xml errors

It's recommended you use an xml editor rather than a text editor unless you really know what you're doing, as it should pick up these formatting errors.