# File lib/xsd/xmlparser/xmlscanner.rb, line 45
  def wellformed_error(msg)
    raise NotWellFormedError.new(msg)
  end