incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Grushinskiy" <mgrushins...@gmail.com>
Subject Re: Trinidad and valid strict XTHML
Date Mon, 07 Aug 2006 04:17:09 GMT
And the generated page starts like this

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xhtml PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Start:
org.apache.myfaces.trinidad.Document["_idJsp0"] --><html
xmlns="http://www.w3.org/1999/xhtml" dir="ltr" xml:lang="en">
  <head>

This part shouldn't have been there

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



On 8/7/06, Mikhail Grushinskiy <mgrushinskiy@gmail.com> wrote:
>
> Trinidad ignores         doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
>
>         doctype-system=" http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
> "
> and still generates TRANSITIONAL XHTML
>
>
> On 8/6/06, Mikhail Grushinskiy < mgrushinskiy@gmail.com> wrote:
> >
> > I've tried this too
> >
> >
> > <?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
> > <jsp:root xmlns:jsp=" http://java.sun.com/JSP/Page " version="2.0"
> >     xmlns="http://www.w3.org/1999/xhtml"
> >     xmlns:f=" http://java.sun.com/jsf/core "
> >     xmlns:tr="http://myfaces.apache.org/trinidad"
> >     xmlns:trh=" http://myfaces.apache.org/trinidad/html ">
> >     <jsp:output
> >         doctype-root-element="xhtml"
> >         doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
> >         doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
> >
> >
> >     <jsp:directive.pagecontentType="application/xhtml+xml;charset=utf-8" />
> >     <f:view>
> >         <tr:document title="
> >
> > and it didn't work. Are there any examples for generating strict XHTML?
> > Thanks
> >
> >
> > On 8/6/06, Matthias Wessendorf < matzew@apache.org> wrote:
> > >
> > > Please do no! double posts.
> > > Issue like this belong to the user list.
> > > that's right.
> > >
> > > What did you do?
> > > I am using Facelets (XHTML...) w/ Trinidad and have no problem.
> > >
> > > On 8/6/06, Mikhail Grushinskiy < mgrushinskiy@gmail.com> wrote:
> > > > What is the way with Trinidad to generate valid strict XTHML?
> > > > I've tried
> > > >
> > > > <?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
> > > > <jsp:root xmlns:jsp=" http://java.sun.com/JSP/Page" version="2.0"
> > > >     xmlns=" http://www.w3.org/1999/xhtml"
> > > >     xmlns:f=" http://java.sun.com/jsf/core"
> > > >     xmlns:tr=" http://myfaces.apache.org/trinidad"
> > > >     xmlns:trh=" http://myfaces.apache.org/trinidad/html">
> > > >     <jsp:directive.pagecontentType="application/xhtml+xml;charset=utf-8"
/>
> > > >     <f:view>
> > > >         <tr:document
> > > >
> > > > and it produces pages with many non working links? I've used latest
> > > build
> > > > after refactoring.
> > > >
> > > > Thanks,
> > > > --MG
> > > >
> > > >
> > >
> > >
> > > --
> > > Matthias Wessendorf
> > >
> > > further stuff:
> > > blog: http://jroller.com/page/mwessendorf
> > > mail: mwessendorf-at-gmail-dot-com
> > >
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message