homepage Welcome to WebmasterWorld Guest from 54.227.67.210
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / XML Development
Forum Library, Charter, Moderators: httpwebwitch

XML Development Forum

    
Parse error: syntax error, unexpected T STRING in /home
cpirt




msg:4075799
 2:35 pm on Feb 7, 2010 (gmt 0)

I get the error Parse error: syntax error, unexpected T_STRING in /home/printt5/public_html/ptmanuals/edu/apdx-faq.html on line 1

And I dont know why a sample of my code is


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

httpwebwitch




msg:4082346
 4:46 pm on Feb 17, 2010 (gmt 0)

in an html file, you don't need to put an xml declaration before the doctype.

in fact, nothing should come before the doctype - not even whitespace newlines or tabs.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / XML Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved