/// <summary> /// Validate a schema element test. /// </summary> /// <param name="e"> /// is the expression. </param> /// <returns> null. </returns> public virtual object visit(SchemaElemTest e) { QName elem = e.name(); if (!expandItemQName(elem)) { reportBadPrefix(elem.prefix()); } if (_sc.TypeModel.lookupElementDeclaration(elem.@namespace(), elem.local()) == null) { reportError(new StaticElemNameError("Element not declared: " + elem.@string())); } return(null); }
/// <param name="e"> /// is the schema element test. </param> /// <returns> e </returns> public virtual object visit(SchemaElemTest e) { return(e); }