Fix length of error marker for missing src file

The length was not calculated properly. Length of attr.getValue() was
taken while it should be the length of attr.getValueRegionText(). The
difference comes when the attribute value is wrapped in quotes.
Merge pull request #27 from kaloyan-raev/error-length

Fix length of error marker for missing src file