<?xml flagged as error
|Reported by:||nobody||Owned by:||nobody|
OK, after the update to 20051018-CVS the parser works fine except for one case: If a .html file begins with <?xml version="1.0" encoding="iso-8859-1"?> the parser seems to take this as an invitation to parse it as PHP. It marks the word "version" as an error with the info Parser error "';' expected after expression (Found token: Identifier(version))" No, "<?" is not invoking PHP code in this case and "xml" is not an expression ;-) Isn't the only case where code is supposed to immediately follow after the ? without a space the special "templating" case "<?=$var?>" ? OK, the space is indeed optional (*sigh*). How about a special case in the parser for "<?xml"?
Change History (4)
Note: See TracTickets for help on using tickets.