9 times out of 10 when I see this problem it's Tidy's fault.

On Wed, Apr 27, 2011 at 10:45 AM, Jian Huang <[email protected]>wrote:

> Hi Dave,
>
> It can be many things.
>
> 1.  Is tidy turned off for one of the content classes?
> 2.  Is <%txt_Pre_Page_ASCII_Code%> outputting something strange in one
> of the content classes?  Try moving that below the doctype.
> 3.  10 other things I can't think of right now.
>
> -Jian
>
> On Apr 27, 10:37 am, Dave R <[email protected]> wrote:
> > So... nobody has a clue as to why the doctype would be stripped out of
> > one template, but not the other when the code is the same?
> >
> > On Apr 25, 1:25 pm, Dave R <[email protected]> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > Ok, I've got 2 content classes with 1 template each. They exist in a
> > > master project and are shared out to multiple child projects. In all
> > > cases, one content class publishes out fine, but the other removes the
> > > doctype on publish or page preview. W3C compliance is set to XHTML in
> > > the project variant.
> >
> > > Properly Publishes:
> > > ----------------------------------------------------------------------
> > > <%txt_Pre_Page_ASCII_Code%>
> > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> > > <html xmlns="http://www.w3.org/1999/xhtml";>
> >
> > > Fails to Properly Publish:
> > > ---------------------------------------------------------------------
> > > <%txt_Pre_Page_ASCII_Code%>
> > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> > > <html xmlns="http://www.w3.org/1999/xhtml";>
> >
> > > Any suggestions on what I should try to correct this issue?
>
> --
> You received this message because you are subscribed to the Google Groups
> "RedDot CMS Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/reddot-cms-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

Reply via email to