void (boolean isDefault) { final PsiBuilder.Marker marker = begin(); if (isDefault) { match(KEYWORD_NAMESPACE, RelaxngBundle.message("relaxng.parse.error.namespace-expected")); matches(IDENTIFIER_OR_KEYWORD); } else { match(IDENTIFIER_OR_KEYWORD, RelaxngBundle.message("relaxng.parse.error.identifier-expected")); } match(EQ, RelaxngBundle.message("relaxng.parse.error.equals-expected")); parseNsUriLiteral(); marker.done(RncElementTypes.NS_DECL); }