[module withEndTagPrefixInvalidExpression('http://www.eclipse.org/emf/2002/Ecore')/]

[template public myTemplate(myParam : ecore::EPackage)]
  [protected (myParam.name) endTagPrefix(notExisting.name)]
    some static text.
  [/protected]
[/template]