Partial implementation of the parser, till 2.6 Processing Instructions