Proposed resolution:
Change Sections 21.3.6.4 paragraph 1 and 21.3.6.6 paragraph 1, the line which says: xpos <= pos and pos < size(); to: xpos <= pos and xpos < size();