lib/ess/element.rb
##
# Validates the tag according to its DTD and all child tags. Throws an
# ESS::Validation::ValidationError exception in case the document is
# incomplete or an invalid value if found.
#
Validates the tag according to its DTD and all child tags. Throws an
ESS::Validation::ValidationError exception in case the document is
incomplete or an invalid value if found.
Validates the tag according to its DTD and all child tags . Throws an ESS :: Validation :: ValidationError exception in case the document is incomplete or an invalid value if found .
def validate
      run_tag_validators
      check_attributes
      check_child_tags
      return nil 
    end
def validate run_tag_validators check_attributes check_child_tags return nil end
Validates the tag according to its DTD and all child tags.
Validates the tag according to its DTD and all child tags .
# if no errors found, i.e. no exceptions have been raised