I think the actual problem is much more fundamental than any flaws in your opf markup, which otherwise seems fine.
But by the section you copy-pasted, is your editor set to use "smart quotes"? Because that will completely mess up the parser's ability to read and understand your markup. It has to be all straight quotes or straight apostrophes in the markup.
|