As reported in the forums here:
doctype doesn't span multiple lines in specific scenarios. It doesn't handle internal DTDs. We can "fix" this by colorizing the entire thing with the DTD color until we add DTD highlighting to RSTA.
Added in SVN commit 410; will be in 2.0.1 release.