/************************************************************************
[123] DocumentTest ::= "document-node" "(" (ElementTest | SchemaElementTest)? ")"
************************************************************************/
final public DocumentTest parseDocumentTest() throws ParseException, XQueryException {
ItemType itemType = null;
switch(jj_nt.kind) {
case DocumentLpar:
currentToken = jj_consume_token(DocumentLpar);
break;
case DocumentLparForKindTest: