Despite what it might look like, the error is coming from PHP, not Apache. It would seem that Apache has been configured to treat .html files as PHP, and PHP has been configured to allow "short tags" to open a block of PHP code, which will mean the "<?" construct will be seen as the start of a block of PHP. See
http://www.php.net/manual/en/language.basic-syntax.php for more information on short tags.
You've got a few choices here:
1. Configure Apache not to run .html files through the PHP parser. This will of course require administrative access to any servers this application will be running on, and may have implications for any other applications on the server.
2. Alter your PHP settings file (php.ini) to not allow short tags. This will again require administrative access to the server, and may affect other applications.
3. Accept that the page will be parsed as PHP, and get the XML declarations output in that way, something like the following:
PHP Code:
print '<?xml version="1.0" encoding="ISO-8859-1"?>';
print '<?xml-stylesheet href="#internalStyle" type="text/css"?>';
As the file in question is (presumably) automatically generated by Analog, then this would mean delving into the Analog source code and modifying it (I'm assuming its open source, but to be honest I'm not familiar with it). This option would have the requirement that any server where the application will be run must execute .html files as PHP.
Hopefully the above makes some kind of sense.
Incidentally, it is possible to upload a file to the W3C validation service to perform validation of local files, at
http://validator.w3.org/#validate_by_upload