The first error (before editing) occurs when you use inside document a & for other purposes than creating a entity-reference (e.g. ").
Usually this happens in URLs when you delimit GET-parameters.
You can ignore this errors using Gordon's suggestion or fix it(replace occurences of & by &).