More fault tolerant parsing of the WADLs.

This should enable the parsing of most WADLs even if they are not fully
conforming to the standard.