[TYPO3-dev] xml error
Xavier Perseguers
xavier at typo3.org
Thu Jun 13 11:10:19 CEST 2013
Hi Juan,
> I'm trying to show an xml file, but I am getting this error:
>
> This page contains the following errors:
>
> error on line 2 at column 6: XML declaration allowed only at the start of the document
> Below is a rendering of the page up to the first error.
>
> If I check the source code of the page, there is a blank line and a tab space before the xml declaration:
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <mytag>...
>
> Any suggestions how to remove this blank space before the xml tag?
>
> I been trying different options on template tools for this specific page, but I haven't figure it out what it could be the right parameters to remove this.
>
> Any guidance will be highly appreciated.
Would help a lot if you explain how this XML is generated :) But
basically you probably have some PHP file you use with trailing new
lines after the closing ?> php tag
HTH
--
Xavier Perseguers
Release Manager TYPO3 4.6
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
More information about the TYPO3-dev
mailing list