A Florida judge was holding a hearing Wednesday on a bid by former US president Donald Trump to dismiss the charges he faces for allegedly mishandling classified documents.