private static void rdf_NodeElement(XMPMetaImpl xmp,XMPNode xmpParent,Node xmlNode,boolean isTopLevel) throws XMPException {
  int nodeTerm=getRDFTermKind(xmlNode);
  if (nodeTerm != RDFTERM_DESCRIPTION && nodeTerm != RDFTERM_OTHER) {
    throw new XMPException("Node element must be rdf:Description or typed node",BADRDF);
  }
 else   if (isTopLevel && nodeTerm == RDFTERM_OTHER) {
    throw new XMPException("Top level typed node not allowed",BADXMP);
  }
 else {
    rdf_NodeElementAttrs(xmp,xmpParent,xmlNode,isTopLevel);
    rdf_PropertyElementList(xmp,xmpParent,xmlNode,isTopLevel);
  }
}

private static void rdf_NodeElement ( XMPMetaImpl xmp , XMPNode xmpParent , Node xmlNode , boolean isTopLevel ) throws XMPException { int nodeTerm = getRDFTermKind ( xmlNode ) ; if ( nodeTerm != RDFTERM_DESCRIPTION && nodeTerm != RDFTERM_OTHER ) { throw new XMPException ( "Node element must be rdf:Description or typed node" , BADRDF ) ; } else if ( isTopLevel && nodeTerm == RDFTERM_OTHER ) { throw new XMPException ( "Top level typed node not allowed" , BADXMP ) ; } else { rdf_NodeElementAttrs ( xmp , xmpParent , xmlNode , isTopLevel ) ; rdf_PropertyElementList ( xmp , xmpParent , xmlNode , isTopLevel ) ; } }
7 . 2 . 5 nodeelementuris anyuri - ( coresyntaxterms | rdf : li | oldterms ) 7 . 2 . 11 nodeelement start - element ( uri = = nodeelementuris , attributes = = set ( ( idattr | nodeidattr | aboutattr ) ? , propertyattr * ) ) propertyeltlist end - element ( ) a node element uri is rdf : description or anything else that is not an rdf term .
