add debug before assertion
fix unterminated link character
fix RDFa test