I agree completely that tapestry - as a web application framework - should
definitely strive to be compliant with various standards whenever possible.

The article I referenced was more to present a counter argument for anyone
that is spending a lot of time making their app w3c compliant when they
don't need to.

On 5/31/06, Kristian Marinkovic <[EMAIL PROTECTED]> wrote:

+1 for XHTML and standards.

btw. there is a firefox extension for validating pages "on the fly":
HTML Validator: https://addons.mozilla.org/firefox/249/
IMHO every web developer should use it :)

best regards,
kris




             "Townson, Chris"
             <[EMAIL PROTECTED]
             .com>                                                      An
                                        "Tapestry users"
             31.05.2006 11:33           <users@tapestry.apache.org>
                                                                     Kopie

              Bitte antworten                                        Thema
                    an                  RE: Does Tapestry work with XHTML?
             "Tapestry users"
             <[EMAIL PROTECTED]
                pache.org>







Please don't give up on the XHTML thing.

Alex Russell is completely wrong in the article Jesse referred to. His
condemnation of so-called "academics" (Alex's label) smacks of
narrow-mindedness, lack of forethought and wilful unawareness of the very
history of web development he briefly covers (i.e. tag soup et al)

Yes, he's correct that implementing some standards can be testing and that
an overly pedantic approach to them can be debilitating (as one commenter
points out in that article: they are "recommendations", not edicts).

However, that doesn't mean that one should ditch them: the development of
standards will, by definition, _always_ be in advance of practice.

The idea is that one should always be working _towards_ the fullest
possible implementation of relevant standards within the constraints of
pragmatism ... for Tapestry, one of those standards _has_ to be XHTML
because, in combination with other standards - such as CSS, it is the
_only_ solution which offers the possibility of a consistent interface
with
the client-side - with the added benefit of a transparent incorporation of
multi-format documents (e.g. XHTML + SVG + MathML etc)

Whilst there is a degree of dissent about the relative merits of standards
for client-side technologies at present (caused, in large part, by the
failure of a certain leading browser manufacturer to propery implement
them), this situation is only exacerbated by developer abandonment.

As for Tapestry components that aren't able to produce valid XHTML ...
they
really should be able to by now and I think it's a bit weak that they
don't. But, saying that, it is open source and you would be free to hack
these components to produce the required XHTML.

Chris

> -----Original Message-----
> From: Galam [mailto:[EMAIL PROTECTED]
> Sent: 30 May 2006 17:10
> To: Tapestry users
> Subject: Re: Does Tapestry work with XHTML?
>
> Thanks everyone for the tips and advices. I'll stick with HTML then.
>
>
>
> On 5/29/06, Todd Orr <[EMAIL PROTECTED]> wrote:
> >
> > Yet, not all of Tapestry's components produce compliant
> xhtml, so you
> > may be wasting your time going through these measures.
> >
> > On 5/29/06, Paul Cantrell <[EMAIL PROTECTED]> wrote:
> > > Right. And just to be clear: the ".xhtml" is not
> necessary for XHTML,
> > > not just for Tapestry, but in *any* content -- and I
> don't think the
> > > "text/xml" mime type is necessary either. It's the
> DOCTYPE that has
> > > the last word.
> > >
> > > Use the W3C validator when in doubt! Use it when not in
> doubt, too.
> > >
> > > Cheers,
> > >
> > > Paul
> > >
> > >
> > > On May 29, 2006, at 2:11 AM, Kristian Marinkovic wrote:
> > >
> > > > hi,
> > > >
> > > > to use XHTML it is NOT necessary to rename the .html file
> > > > to .xhtml. all
> > > > you
> > > > have to do is to add the dtd and the <?xml....>. the
> only reason i
> > > > could
> > > > imagine you want to rename it to .xhtml is because you
> could configure
> > > > your webserver to set the correct mime-type (text/xml).
> but if you
> > > > do so
> > > > IE6 (and before) won't be able to display your document
> correctly.
> > > >
> > > > btw. if you put <?xml version="1.0" encoding="UTF-8"?> into
> > > > your document IE6 will run in quirksmode and not in
> standard compliant
> > > > mode! this may cause some misbehaviours when using css :)
> > > > (boxmodel...)
> > > >  although it is not absolutly correct you may omit
> > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > completly (or you generate it depending on the current
> > > > browser :)).
> > > >
> > > >
> > > > regards,
> > > > kris
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >              Galam
> > > >              <[EMAIL PROTECTED]
> > > >
> > > > om>                                                        An
> > > >                                         "Tapestry users"
> > > >              29.05.2006 04:32
> <users@tapestry.apache.org>
> > > >
>              K
> > > > opie
> > > >
> > > >               Bitte
> > > > antworten                                        Thema
> > > >                     an                  Does Tapestry
> work with XHTML?
> > > >              "Tapestry users"
> > > >              <[EMAIL PROTECTED]
> > > >                 pache.org>
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Hi all,
> > > >
> > > > Does Tapestry work with XHTML?
> > > >
> > > > I renamed "Home.html" to "Home.xhtml" in my test
> application, but I
> > > > got an
> > > > exception saying that
> > > >
> > > > "Could not find template for page Home in locale en_US."
> > > >
> > > >
> > > > -----------
> > > >
> > > > org.apache.hivemind.ApplicationRuntimeException Could not find
> > > > template for
> > > > page Home in locale en_US. component:
> [EMAIL PROTECTED]  location:
> > > > context:/WEB-INF/Home.page,
> > > > line 4, column 55
> > > >   1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE page-
> > > > specification
> > > > PUBLIC "-//Apache Software Foundation//Tapestry
> Specification 4.0//
> > > > EN" 3 "
> > > > http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> 4
> > > > <page-specification
> > > > class="com.ttdev.HelloWorld.Home"> 5 <component id="subject"
> > > > type="Insert">
> > > > 6 <binding name="value" value="greetingSubject"/> 7
> </component> 8
> > > > </page-specification>
> > > >
> > > >
> > > >
> > > > Thanks!
> > > >
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > > _________________________________________________________________
> > > Piano music podcast: http://inthehands.com
> > > Other interesting stuff: http://innig.net
> > >
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>


********************************************************************************

DISCLAIMER: This e-mail is confidential and should not be used by anyone
who is
not the original intended recipient. If you have received this e-mail in
error
please inform the sender and delete it from your mailbox or any other
storage
mechanism. Neither Macmillan Publishers Limited nor any of its agents
accept
liability for any statements made which are clearly the sender's own and
not
expressly made on behalf of Macmillan Publishers Limited or one of its
agents.
Please note that neither Macmillan Publishers Limited nor any of its
agents
accept any responsibility for viruses that may be contained in this e-mail
or
its attachments and it is your responsibility to scan the e-mail and
attachments (if any). No contracts may be concluded on behalf of Macmillan
Publishers Limited or its agents by means of e-mail communication.
Macmillan
Publishers Limited Registered in England and Wales with registered number
785998
Registered Office Brunel Road, Houndmills, Basingstoke RG21 6XS

********************************************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.

Reply via email to