Good to know. When I get time I'll update the html tags to include the ending /.

David




From: "Hajratwala, Nayan (N.)" <[EMAIL PROTECTED]>
Reply-To: "Struts Developers List" <[EMAIL PROTECTED]>
To: "'Struts Developers List'" <[EMAIL PROTECTED]>
Subject: RE: [Supported Browsers] cvs commit: jakarta-struts/src/share/org /apache/struts/taglib/html JavascriptValidatorTag.java
Date: Mon, 21 Oct 2002 16:12:15 -0400

Just fyi ..the reason "older" browsers will support:

<tagname attribute="value" />

and not

<tagname attribute="value"/>

is because in the first instance, the old browsers will simply interpret "/"
as another attribute that they cannot understand, and therefore skip it.

On a related note, all browsers will display XHTML with no problems (ok,
maybe not mosaic 1.0). Where they will have a problem is with the CSS that
you use along with it. CSS support is sketchy in any NS4.x and lower.

---
- Nayan Hajratwala
- Chikli Consulting LLC
- http://www.chikli.com


-----Original Message-----
From: David Graham [mailto:dgraham1980@;hotmail.com]
Sent: Monday, October 21, 2002 3:36 PM
To: [EMAIL PROTECTED]
Subject: RE: [Supported Browsers] cvs commit:
jakarta-struts/src/share/org /apache/struts/taglib/html
JavascriptValidatorTag.java


I think someone just submitted a patch for xhmtl compliant taglibs.
However, a brief glance at the patch shows they did this:

<input type="text" name="blah"/>

instead of the w3.org recommended:

<input type="text" name="blah" /> (note the space)

I can only assume w3 recommends the space because some browsers don't like
the other way.

Opera deals with xhtml just fine. It's my primary browser.

Dave






>From: "Martin Cooper" <[EMAIL PROTECTED]>
>Reply-To: "Struts Developers List" <[EMAIL PROTECTED]>
>To: "'Struts Developers List'" <[EMAIL PROTECTED]>
>Subject: RE: [Supported Browsers] cvs commit: jakarta-struts/src/share/org
>/apache/struts/taglib/html JavascriptValidatorTag.java
>Date: Mon, 21 Oct 2002 11:57:11 -0700
>
>
>
> > -----Original Message-----
> > From: David Graham [mailto:dgraham1980@;hotmail.com]
> > Sent: Sunday, October 20, 2002 10:48 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [Supported Browsers] cvs commit:
> > jakarta-struts/src/share/org/apache/struts/taglib/html
> > JavascriptValidatorTag.java
> >
> >
> > I'd like to discuss XHTML compliance again as well. My
> > understanding of it
> > is that current browsers are unaffected by reading xhtml
> > compliant pages.
> > Craig has talked of creating an xhtml tag library similar to the html
> > library but I don't think this is necessary.
>
>No, it's not, and the <html:html> tag already has an 'xhtml' attribute.
>It's
>just a question of completing the job. I think there's still a bug in
>Bugzilla for this, too. It's something I wanted to get into 1.1, but I have
>not had the time, and the bug, I believe, is marked LATER.
>
> >
> > Does anyone know of browsers choking on xhtml? Is there any
> > reason the
> > current html taglib couldn't be xhtml compliant?
>
>I think that's the goal.
>
> >
> > As far as browsers go, I personally don't care about anything
> > older than
> > Netscape 4.x (even that's pushing it). I don't know of any
> > sites that claim
> > to support anything older than that either. There are
> > probably a very small
> > number of people supporting older browsers though.
>
>The most likely place we'd run into browser version issues is corporations
>which require the use of a specific browser by all employees. I suspect,
>though, that most companies have progressed at least to 4.x browsers.
>
>But then there's always Opera, Lynx, et al, to think about.
>
>--
>Martin Cooper
>
>
> >
> > Dave
> >
> >
> >
> >
> >
> >
> > >From: "James Mitchell" <[EMAIL PROTECTED]>
> > >Reply-To: "Struts Developers List" <[EMAIL PROTECTED]>
> > >To: "Struts Developers List" <[EMAIL PROTECTED]>
> > >Subject: RE: [Supported Browsers] cvs commit:
> > >jakarta-struts/src/share/org/apache/struts/taglib/html
> > >JavascriptValidatorTag.java
> > >Date: Sun, 20 Oct 2002 21:53:27 -0400
> > >
> > > > I didn't remove the language attribute in case some
> > browsers need it (I
> > > > don't know of any though).
> > >
> > >On that note, do we have an official list of supported
> > browsers and/or
> > >versions that we can actually test against? You know, for
> > browser issues
> > >(e.g. JavaScript, HTML tags, XHTML, etc, etc.)
> > >
> > >Sorry if I missed that somewhere.
> > >
> > >
> > >
> > >James Mitchell
> > >Software Engineer/Struts Evangelist
> > >http://www.open-tools.org
> > >
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED] [mailto:dgraham@;apache.org]
> > > > Sent: Sunday, October 20, 2002 7:17 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: cvs commit:
> > > > jakarta-struts/src/share/org/apache/struts/taglib/html
> > > > JavascriptValidatorTag.java
> > > >
> > > >
> > > > dgraham 2002/10/20 16:17:06
> > > >
> > > > Modified: src/share/org/apache/struts/taglib/html
> > > > JavascriptValidatorTag.java
> > > > Log:
> > > > Added type="text/javascript" to script tags for xhtml
> > > > compliance. I didn't
> > > > remove the language attribute in case some browsers need it (I
> > > > don't know of
> > > > any though).
> > > >
> > > > Revision Changes Path
> > > > 1.9 +3 -3
> > > > jakarta-struts/src/share/org/apache/struts/taglib/html/JavascriptV
> > > > alidatorTag.java
> > > >
> > > > Index: JavascriptValidatorTag.java
> > > >
> > ===================================================================
> > > > RCS file:
> > > > /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/J
> > > > avascriptValidatorTag.java,v
> > > > retrieving revision 1.8
> > > > retrieving revision 1.9
> > > > diff -u -r1.8 -r1.9
> > > > --- JavascriptValidatorTag.java 18 Oct 2002 16:58:10
> > -0000 1.8
> > > > +++ JavascriptValidatorTag.java 20 Oct 2002 23:17:06
> > -0000 1.9
> > > > @@ -394,7 +394,7 @@
> > > > results.append(" } \n\n");
> > > > }
> > > > } else if ("true".equals(staticJavascript)) {
> > > > - results.append("<script
> > language=\"Javascript1.1\">");
> > > > + results.append("<script language=\"Javascript1.1\"
> > > > type=\"text/javascript\">");
> > > > }
> > > >
> > > > if ("true".equals(staticJavascript)) {
> > > > @@ -438,7 +438,7 @@
> > > > StringBuffer sb = new StringBuffer();
> > > > String name = formName.substring(0, 1).toUpperCase() +
> > > > formName.substring(1, formName.length());
> > > >
> > > > - sb.append("<script language=\"Javascript1.1\"");
> > > > + sb.append("<script language=\"Javascript1.1\"
> > > > type=\"text/javascript\"");
> > > >
> > > > if (src != null) {
> > > > sb.append(" src=\"" + src + "\"> \n");
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > > <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > > <mailto:struts-dev-help@;jakarta.apache.org>
> > > >
> > > >
> > >
> > >
> > >--
> > >To unsubscribe, e-mail:
> > ><mailto:struts-dev-unsubscribe@;jakarta.apache.org>
> > >For additional commands, e-mail:
> > ><mailto:struts-dev-help@;jakarta.apache.org>
> >
> >
> > _________________________________________________________________
> > Get faster connections -- switch to MSN Internet Access!
> > http://resourcecenter.msn.com/access/plans/default.asp
> >
> >
> > --
> > To unsubscribe, e-mail:
><mailto:struts-dev-unsubscribe@;jakarta.apache.org>
>For additional commands, e-mail:
><mailto:struts-dev-help@;jakarta.apache.org>
>
>
>
>--
>To unsubscribe, e-mail:
><mailto:struts-dev-unsubscribe@;jakarta.apache.org>
>For additional commands, e-mail:
><mailto:struts-dev-help@;jakarta.apache.org>


_________________________________________________________________
Get faster connections -- switch to MSN Internet Access!
http://resourcecenter.msn.com/access/plans/default.asp


--
To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

--
To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

_________________________________________________________________
Internet access plans that fit your lifestyle -- join MSN. http://resourcecenter.msn.com/access/plans/default.asp


--
To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

Reply via email to