Ricardo,

I sow this error in my app. If an PHP message (e_warning, e_error) was sent
by the server, it comes in a header and make the code unresponsive.

Hope help you.

2008/12/17 Ricardo Tomasi <ricardob...@gmail.com>

>
> Are you serving this page as application/xml+xhtml ? I believe the xml
> declaration at the top can cause parsing errors for some browsers.
>
> On Dec 17, 4:31 am, Technosis <techno...@gmail.com> wrote:
> > I chose to use an xhtml strict doctype for an application I am working
> > on. I'm getting the error on the DOCTYPE declaration line.
> >
> > I'm receiving the following error:
> >
> > Error: missing ; before statement
> > Source File:http://localhost/crmgen2/js/jquery-1.2.6.pack.js
> > Line: 2, Column: 2
> > Source Code:
> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
> >
> > The top of the file looks like this:
> >
> > <?xml version="1.0" encoding="ISO-8859-1" ?>
> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
> > <html xmlns="http://www.w3.org/1999/xhtml";>
> > <head>
> >         <meta http-equiv="Content-Type" content="text/html;
> > charset=ISO-8859-1" />
> >         <link rel="stylesheet" href="/crmgen2/css/style.css" />
> >         <link rel="stylesheet"
> href="/crmgen2/modules/Layout/css/layout.css" /
> >
> >         <link rel="stylesheet"
> href="/crmgen2/modules/Layout/css/manage.css" /
> >
> >
> >
> >         <script type="text/javascript" src="/crmgen2/js/
> > jquery-1.2.6.pack.js"></script>
> >         <script type="text/javascript" src="/crmgen2/modules/Layout/js/
> > manage.js"></script>
> >
> >         <title>test application</title>
> > </head>
> > <body>
> >
> > If anyone could help me figure this out I'd be very grateful!
> >
> > Ryan

Reply via email to