Fix several simple issues caught in SVG team code review Patch attached.
Created attachment 4997 [details] Simple patch fixing issues caught in today's review.
Comment on attachment 4997 [details] Simple patch fixing issues caught in today's review. oops, I didn't mean to include the xml_tokenizer fix in this patch.
Created attachment 5006 [details] Slightly larger patch.
Comment on attachment 5006 [details] Slightly larger patch. Eric fixed the DataRef == and != operators (which are incorrect in this patch). r=me
*** Bug 5995 has been marked as a duplicate of this bug. ***