Although the text doesn't mention it, the grammar makes it clear that the things appearing in XML and Text declaration must be in one and only one order. Which is to say that neither
<?xml encoding='UTF-8' version='1.0'?>
<?xml standalone='no' encoding='ASCII'?>
Back-link to specCopyright © 1998, Tim Bray. All rights reserved.