On Fri, Feb 27, 2009 at 6:08 AM, rossputin <[email protected]> wrote:

>
> Hi.
>
> Sure, I understand it is required as the xml is processed, is there a
> post process operation in the pipeline anywhere ?
>

Ross,

Lift emits XHTML to the browser that contains tags with lift:xxx attributes
to support the Comet services and also used the lift:gc attribute to support
other services until we found a significant defect in Firefox and jQuery and
decided to use another mechanism to replace the lift:gc attributes.  Lift
makes active use of the lift namespace.  The xmlns:lift attribute is removed
at your peril and the removal will not be supported on this list.

Thanks,

David


>
> Thanks,
>
> Ross.
>
>
> On Feb 27, 1:59 pm, Timothy Perrett <[email protected]> wrote:
> > Ross,
> >
> > You cannot remove this namespace as it is needed to make it valid XHTML -
> > Scala XML processing uses a strict xml processer to ensure that the
> markup
> > is valid and complete before outputting it. Because we use <lift:mybound
> />
> > the namespace is required for the parser to pass that markup xml as valid
> I
> > do believe.
> >
> > Tim
> >
> > On 27/02/2009 13:40, "rossputin" <[email protected]> wrote:
> >
> >
> >
> >
> >
> > > Hi.
> >
> > > Sure, its something I do to simplify as much as possible any
> > > unnecessary tags or attributes.  I suppose it is a practice I picked
> > > up while using Cocoon.  Ultimately, I just want the purest xhtml
> > > output possible, hopefully revealing as little about the platform
> > > which produced it as possible.
> >
> > > Ross.
> >
> > > On Feb 27, 1:31 pm, Viktor Klang <[email protected]> wrote:
> > >> May I ask why?
> >
> > >> Cheers,
> > >> Viktor
> >
> > >> On Fri, Feb 27, 2009 at 1:23 PM, rossputin <[email protected]>
> wrote:
> >
> > >>> Hi.
> >
> > >>> I am using lift 1.0.  I was hoping to remove the
>  'xmlns:lift="http://
> > >>> liftweb.net/"' element from :
> >
> > >>> <?xml version="1.0" encoding="UTF-8"?>
> > >>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://
> > >>>www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> > >>> <html xmlns:lift="http://liftweb.net/"; xmlns="
> http://www.w3.org/1999/
> > >>> xhtml">
> >
> > >>> Thanks.
> >
> > >>> Ross.
> >
> > >>> On Feb 27, 12:18 pm, Timothy Perrett <[email protected]>
> wrote:
> > >>>> Hey Ross,
> >
> > >>>> Which element are you referring to? Head items? What version of lift
> are
> > >>> you
> > >>>> using? (you can find out by looking in pom.xml under the lift-*
> > >>>> dependencies)
> >
> > >>>> Thanks
> >
> > >>>> Tim
> >
> > >>>> On 27/02/2009 11:36, "rossputin" <[email protected]> wrote:
> >
> > >>>>> Hi.
> >
> > >>>>> I must admit I have not worked my way through the book yet, but I
> was
> > >>>>> wondering if it is possible to remove the xmlns:lift="http://
> > >>>>> liftweb.net/" attribute on the html element in the rendered page?
> >
> > >>>>> Thanks.
> >
> > >>>>> Ross.
> >
> > >> --
> > >> Viktor Klang
> > >> Senior Systems Analyst
>
> >
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" 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/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to