Gentle people, this is about perfect time for another
mind twister: <tr> Picture 1. Firefox: The resulting html: <tr> <td> Picture 2. IE: result code in IE:
<tr> Pay attention to "Applicable to:" row
of the table. I did not check these portions of the
result html code for identicity, Kind regards, Taras Bahnyuk.
-- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. |
Hi Taras
this seems similar to the situation I described the other day http://mail-archive.objectweb.org/ops-users/2006-01/msg00366.html My assessment was that it was because the page was being produced as xhtml and Firefox was enforcing the spec on the input element when it is being used for a radio or checkbox. Is your page in the browser with an xhtml or html doctype? Thanks & regards Colin On Feb 1, 2006, at 3:10 PM, Taras Bahnyuk wrote: > Gentle people, > > this is about perfect time for another mind twister: > This is a fragment of XSLT file that creates xforms select element. > > <tr> > <th>Applicable to:</th> > <td> > <xsl:for-each select="document($DocTypeConfigPath)/*/*/Profile"> > <xsl:if test="@attribute = 'destination'"> > <xforms:select ref="@destinationList" appearance="minimal"> > <xforms:hint>Select all the areas this PCS is > applicable to.</xforms:hint> > <xforms:choices> > <xforms:item> > <xforms:label>Proto</xforms:label> > <xforms:value>Proto</xforms:value> > </xforms:item> > <xforms:item> > <xforms:label>Pilot</xforms:label> > <xforms:value>Pilot</xforms:value> > </xforms:item> > <xforms:item> > <xforms:label>Assy</xforms:label> > <xforms:value>Assy</xforms:value> > </xforms:item> > <xsl:for-each select="Allowed"> > <xforms:item> > <xforms:label> > <xsl:value-of select="@value"/> > </xforms:label> > <xforms:value> > <xsl:value-of select="@value"/> > </xforms:value> > </xforms:item> > </xsl:for-each> > </xforms:choices> > </xforms:select> > </xsl:if> > </xsl:for-each> > </td> > </tr> > > > Picture 1. Firefox: > > <image.tiff>The resulting html: > <tr> > <th>Applicable to:</th> > <td> > <div title="Select all the areas this PCS is applicable to." > style="padding: 0px; margin: 0px"><input type="checkbox" > name="$node^oRozUsPUJwQ=" value="Proto" ref="@destinationList" > appearance="minimal" xxforms:readonly="false" xxforms:relevant="true" > xxforms:required="false" xxforms:valid="false" > xxforms:name="$node^oRozUsPUJwQ=" xxforms:value="Proto Pilot Assy Test > Install Service" xxforms:node-ids="oRozUsPUJwQ=" > checked="checked">Proto</input><input type="checkbox" > name="$node^oRozUsPUJwQ=" value="Pilot" ref="@destinationList" > appearance="minimal" xxforms:readonly="false" xxforms:relevant="true" > xxforms:required="false" xxforms:valid="false" > xxforms:name="$node^oRozUsPUJwQ=" xxforms:value="Proto Pilot Assy Test > Install Service" xxforms:node-ids="oRozUsPUJwQ=" > checked="checked">Pilot</input><input type="checkbox" > name="$node^oRozUsPUJwQ=" value="Assy" ref="@destinationList" > appearance="minimal" xxforms:readonly="false" xxforms:relevant="true" > xxforms:required="false" xxforms:valid="false" > xxforms:name="$node^oRozUsPUJwQ=" xxforms:value="Proto Pilot Assy Test > Install Service" xxforms:node-ids="oRozUsPUJwQ=" > checked="checked">Assy</input><input type="checkbox" > name="$node^oRozUsPUJwQ=" value="Test" ref="@destinationList" > appearance="minimal" xxforms:readonly="false" xxforms:relevant="true" > xxforms:required="false" xxforms:valid="false" > xxforms:name="$node^oRozUsPUJwQ=" xxforms:value="Proto Pilot Assy Test > Install Service" xxforms:node-ids="oRozUsPUJwQ=" > checked="checked">Test</input><input type="checkbox" > name="$node^oRozUsPUJwQ=" value="Install" ref="@destinationList" > appearance="minimal" xxforms:readonly="false" xxforms:relevant="true" > xxforms:required="false" xxforms:valid="false" > xxforms:name="$node^oRozUsPUJwQ=" xxforms:value="Proto Pilot Assy Test > Install Service" xxforms:node-ids="oRozUsPUJwQ=" > checked="checked">Install</input><input type="checkbox" > name="$node^oRozUsPUJwQ=" value="Service" ref="@destinationList" > appearance="minimal" xxforms:readonly="false" xxforms:relevant="true" > xxforms:required="false" xxforms:valid="false" > xxforms:name="$node^oRozUsPUJwQ=" xxforms:value="Proto Pilot Assy Test > Install Service" xxforms:node-ids="oRozUsPUJwQ=" > checked="checked">Service</input></div> > </td> > </tr> > </table> > > Picture 2. IE: > > <image.tiff>result code in IE: > > <tr> > <th>Applicable to:</th> > <td> > <div title="Select all the areas this PCS is applicable to." > style="padding: 0px; margin: 0px"><input type="checkbox" > name="$node^oRozUsPUJwQ=" value="Proto" ref="@destinationList" > appearance="minimal" xxforms:readonly="false" xxforms:relevant="true" > xxforms:required="false" xxforms:valid="false" > xxforms:name="$node^oRozUsPUJwQ=" xxforms:value="Proto Pilot Assy Test > Install Service" xxforms:node-ids="oRozUsPUJwQ=" checked>Proto<input > type="checkbox" name="$node^oRozUsPUJwQ=" value="Pilot" > ref="@destinationList" appearance="minimal" xxforms:readonly="false" > xxforms:relevant="true" xxforms:required="false" xxforms:valid="false" > xxforms:name="$node^oRozUsPUJwQ=" xxforms:value="Proto Pilot Assy Test > Install Service" xxforms:node-ids="oRozUsPUJwQ=" checked>Pilot<input > type="checkbox" name="$node^oRozUsPUJwQ=" value="Assy" > ref="@destinationList" appearance="minimal" xxforms:readonly="false" > xxforms:relevant="true" xxforms:required="false" xxforms:valid="false" > xxforms:name="$node^oRozUsPUJwQ=" xxforms:value="Proto Pilot Assy Test > Install Service" xxforms:node-ids="oRozUsPUJwQ=" checked>Assy<input > type="checkbox" name="$node^oRozUsPUJwQ=" value="Test" > ref="@destinationList" appearance="minimal" xxforms:readonly="false" > xxforms:relevant="true" xxforms:required="false" xxforms:valid="false" > xxforms:name="$node^oRozUsPUJwQ=" xxforms:value="Proto Pilot Assy Test > Install Service" xxforms:node-ids="oRozUsPUJwQ=" checked>Test<input > type="checkbox" name="$node^oRozUsPUJwQ=" value="Install" > ref="@destinationList" appearance="minimal" xxforms:readonly="false" > xxforms:relevant="true" xxforms:required="false" xxforms:valid="false" > xxforms:name="$node^oRozUsPUJwQ=" xxforms:value="Proto Pilot Assy Test > Install Service" xxforms:node-ids="oRozUsPUJwQ=" checked>Install<input > type="checkbox" name="$node^oRozUsPUJwQ=" value="Service" > ref="@destinationList" appearance="minimal" xxforms:readonly="false" > xxforms:relevant="true" xxforms:required="false" xxforms:valid="false" > xxforms:name="$node^oRozUsPUJwQ=" xxforms:value="Proto Pilot Assy Test > Install Service" xxforms:node-ids="oRozUsPUJwQ=" checked>Service</div> > </td> > </tr> > </table> > > Pay attention to "Applicable to:" row of the table. > In Firefox labels of the checkboxes are missing. > > I did not check these portions of the result html code for identicity, > but I see that both fragments contain names of destination like Proto, > Pilot, Assy and so on. > This is something that I cant explain rationally, and I will sincerely > appreciate any help on this subject. > > Kind regards, > > Taras Bahnyuk. > > > > -- > The information contained in this communication and any attachments > is confidential and may be privileged, and is for the sole use of the > intended recipient(s). Any unauthorized review, use, disclosure or > distribution is prohibited. If you are not the intended recipient, > please notify the sender immediately by replying to this message and > destroy all copies of this message and any attachments. ASML is > neither liable for the proper and complete transmission of the > information contained in this communication, nor for any delay in its > receipt. > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Taras Bahnyuk
Colin, regards,
Taras
-- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
I
believe Colin is talking about this <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> Which should be at the top of the document
when looking at view source in the browser Ryan Ryan
Puddephatt Software Engineer TFX Group - IT UK Scotand EH54 7DP ( 01506 407 110 7 01506 407 108 From: Taras Bahnyuk
[mailto:[hidden email]] Colin, regards,
-- -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Taras Bahnyuk
Thanks, I did not realize that.
Anyways, it's html:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> From: Ryan Puddephatt [mailto:[hidden email]] Sent: donderdag 2 februari 2006 16:00 To: [hidden email] Subject: RE: [ops-users] xForms select labels missing in Firefox.
I believe Colin is talking about this <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> Which should be at the
top of the document when looking at view source in the
browser Ryan Ryan
Puddephatt Software
Engineer TFX Group - IT
UK Scotand EH54
7DP (
01506 407
110 7
01506 407
108 From: Taras
Bahnyuk [mailto:[hidden email]] Colin, regards,
-- -- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
XHTML 1.0 Transitional is in there, meaning it will
taken as transistion XHTML rather than HTML like mine below, I’m not sure
how you change it though Ryaan Ryan
Puddephatt Software Engineer TFX Group - IT UK Scotand EH54 7DP ( 01506 407 110 7 01506 407 108 From: Taras Bahnyuk
[mailto:[hidden email]] Thanks, I did not realize that. Anyways, it's html: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> From: Ryan Puddephatt
[mailto:
I believe Colin is talking about this <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> Which should be at the top of the document
when looking at view source in the browser Ryan Ryan
Puddephatt Software Engineer TFX Group - IT Scotand EH54 7DP ( 01506 407 110 7 01506 407 108 From: Taras Bahnyuk
[mailto:[hidden email]] Colin, regards,
-- -- -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Taras Bahnyuk
You know what's funny?
I've just saved html code from the browser to a file, and
open it back again.
And guess what?
Yep, it worked just fine.
Am I doing something wrong? From: Ryan Puddephatt [mailto:[hidden email]] Sent: donderdag 2 februari 2006 16:09 To: [hidden email] Subject: RE: [ops-users] xForms select labels missing in Firefox. XHTML 1.0 Transitional is in there, meaning it will
taken as transistion XHTML rather than HTML like mine below, I’m not sure how
you change it though Ryaan Ryan
Puddephatt Software
Engineer TFX Group - IT
UK Scotand EH54
7DP (
01506 407
110 7
01506 407
108 From: Taras
Bahnyuk [mailto:[hidden email]] Thanks, I did not
realize that. Anyways, it's
html: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> From: Ryan
Puddephatt [mailto:
I believe Colin is talking about this <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> Which should be at the
top of the document when looking at view source in the
browser Ryan Ryan
Puddephatt Software
Engineer TFX Group - IT
Scotand EH54
7DP (
01506 407
110 7
01506 407
108 From: Taras
Bahnyuk [mailto:[hidden email]] Colin, regards,
-- -- -- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. |
Not that I can see, try getting a version
that reproduces the error in the XForms Sandbox Ryan Ryan
Puddephatt Software Engineer TFX Group - IT UK Scotand EH54 7DP ( 01506 407 110 7 01506 407 108 From: Taras Bahnyuk
[mailto:[hidden email]] You know what's funny? I've just saved html code from the browser
to a file, and open it back again. And guess what? Yep, it worked just fine. Am I doing something wrong? From: Ryan
Puddephatt [mailto: XHTML 1.0 Transitional is in there, meaning it will
taken as transistion XHTML rather than HTML like mine below, I’m not sure
how you change it though Ryaan Ryan
Puddephatt Software Engineer TFX Group - IT Scotand EH54 7DP ( 01506 407 110 7 01506 407 108 From: Taras Bahnyuk
[mailto:[hidden email]] Thanks, I did not realize that. Anyways, it's html: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> From: Ryan
Puddephatt [mailto:
I believe Colin is talking about this <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> Which should be at the top of the document
when looking at view source in the browser Ryan Ryan
Puddephatt Software Engineer TFX Group - IT Scotand EH54 7DP ( 01506 407 110 7 01506 407 108 From: Taras Bahnyuk
[mailto:[hidden email]] Colin, regards,
-- -- -- |
In reply to this post by Taras Bahnyuk
Tried that too.
Sandbox opens my local file without any problem.
I do see checkbox labels, although styling is
gone.
But local copy worked fine
anyways.
-Taras
From: Ryan Puddephatt [mailto:[hidden email]] Sent: donderdag 2 februari 2006 16:24 To: [hidden email] Subject: RE: [ops-users] xForms select labels missing in Firefox. Not that I can see, try
getting a version that reproduces the error in the XForms
Sandbox Ryan Ryan
Puddephatt Software
Engineer TFX Group - IT
UK Scotand EH54
7DP (
01506 407
110 7
01506 407
108
-- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
I
don’t know what to suggest, if you can’t reproduce it and it works
fine if you copy out the HTML then I don’t know why its happening Sorry Ryan Ryan
Puddephatt Software Engineer TFX Group - IT UK Scotand EH54 7DP ( 01506 407 110 7 01506 407 108 From: Taras Bahnyuk
[mailto:[hidden email]] Tried that too. Sandbox opens my local file without any
problem. I do see checkbox labels, although styling
is gone. But local copy worked fine anyways. - From: Ryan
Puddephatt [mailto: Not that I can see, try getting a version
that reproduces the error in the XForms Sandbox Ryan Ryan
Puddephatt Software Engineer TFX Group - IT Scotand EH54 7DP ( 01506 407 110 7 01506 407 108 -- -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Taras Bahnyuk
Ryan,
thanks anyways.
I think I'll just wait for more people to hit this
bug, and than they will have to fix it :-)
Greetings
-Taras From: Ryan Puddephatt [mailto:[hidden email]] Sent: donderdag 2 februari 2006 16:44 To: [hidden email] Subject: RE: [ops-users] xForms select labels missing in Firefox.
I don’t know what to suggest, if you can’t reproduce it and it works fine if you
copy out the HTML then I don’t know why its
happening Sorry Ryan Ryan
Puddephatt Software
Engineer TFX Group - IT
UK Scotand EH54
7DP (
01506 407
110 7
01506 407
108 From: Taras
Bahnyuk [mailto:[hidden email]] Tried that
too. Sandbox opens my local
file without any problem. I do see checkbox
labels, although styling is gone. But local copy worked
fine anyways. - From: Ryan
Puddephatt [mailto: Not that I can see, try
getting a version that reproduces the error in the XForms
Sandbox Ryan Ryan
Puddephatt Software
Engineer TFX Group - IT
Scotand EH54
7DP (
01506 407
110 7
01506 407
108 -- -- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
In reply to this post by Taras Bahnyuk
Where do you put the DOCTYPE? OPS by default will generate:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> So unless you changed that yourself, I don't see how you can get "XHTML 1.0 transitional:. -Erik Taras Bahnyuk wrote: > Thanks, I did not realize that. > Anyways, it's html: > > <!DOCTYPE html > PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > > > ------------------------------------------------------------------------ > *From:* Ryan Puddephatt [mailto:[hidden email]] > *Sent:* donderdag 2 februari 2006 16:00 > *To:* [hidden email] > *Subject:* RE: [ops-users] xForms select labels missing in Firefox. > > Taras, > > I believe Colin is talking about this > > <!DOCTYPE html > > PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> > > > > Which should be at the top of the document when looking at view source > in the browser > > > > Ryan > > > > *Ryan Puddephatt* > > Software Engineer > > TFX Group - IT UK > > 1 Michaelson Square > > Livingston > > West Lothian > > Scotand > > EH54 7DP > > > > * [hidden email] > > ( 01506 407 110 > > 7 01506 407 108 > > > > ------------------------------------------------------------------------ > > *From:* Taras Bahnyuk [mailto:[hidden email]] > *Sent:* 02 February 2006 14:55 > *To:* [hidden email] > *Subject:* RE: [ops-users] xForms select labels missing in Firefox. > > > > Colin, > Thanks for the reply :-) > In my case the doctype is html: > > <html xmlns:xs="http://www.w3.org/2001/XMLSchema" > xmlns:f="http://orbeon.org/oxf/xml/formatting" > xmlns:portlet="http://orbeon.org/oxf/xml/portlet" > xmlns:xhtml="http://www.w3.org/1999/xhtml" > xmlns:xforms="http://www.w3.org/2002/xforms" > xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" > xmlns="http://www.w3.org/1999/xhtml"> > > regards, > > Taras > > > > > > -----Original Message----- > From: Colin O'Brien [mailto:[hidden email]] > Sent: donderdag 2 februari 2006 14:44 > To: [hidden email] > Subject: Re: [ops-users] xForms select labels missing in Firefox. > > Hi Taras > > this seems similar to the situation I described the other day > http://mail-archive.objectweb.org/ops-users/2006-01/msg00366.html > > My assessment was that it was because the page was being produced as > xhtml and Firefox was enforcing the spec on the input element when it > is being used for a radio or checkbox. > > Is your page in the browser with an xhtml or html doctype? > > Thanks & regards > Colin > > ------------------------------------------------------------------------ > > -- > The information contained in this communication and any attachments is > confidential and may be privileged, and is for the sole use of the > intended recipient(s). Any unauthorized review, use, disclosure or > distribution is prohibited. If you are not the intended recipient, > please notify the sender immediately by replying to this message and > destroy all copies of this message and any attachments. ASML is neither > liable for the proper and complete transmission of the information > contained in this communication, nor for any delay in its receipt. > > ------------------------------------------------------------------------ > -- > The information contained in this communication and any attachments is > confidential and may be privileged, and is for the sole use of the > intended recipient(s). Any unauthorized review, use, disclosure or > distribution is prohibited. If you are not the intended recipient, > please notify the sender immediately by replying to this message and > destroy all copies of this message and any attachments. ASML is neither > liable for the proper and complete transmission of the information > contained in this communication, nor for any delay in its receipt. > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Taras Bahnyuk
Erik,
The point is, that I even don't know how one would change it when desired. More interesting thing is, that page source in IE carries the HTML type <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> And in Firefox - XHTML: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Both pages being opened at the same time. -Taras. -----Original Message----- From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez Sent: vrijdag 3 februari 2006 0:16 To: [hidden email] Subject: Re: [ops-users] xForms select labels missing in Firefox. Where do you put the DOCTYPE? OPS by default will generate: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> So unless you changed that yourself, I don't see how you can get "XHTML 1.0 transitional:. -Erik -- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Taras,
Did you customize your epilogue? By default, I see the same DOCTYPE sent to both Firefox and IE. The epilogue (config/epilogue-servlet.xpl) has an optional section that allows you to enable XHTML. I assume that you have enabled that. And that would also be the place where you would configure the DOCTYPE: search for "public-doctype". The fact is that depending on your DOCTYPE, your browser will render pages differently. This is why in general it remains easier to just generate plain ugly HTML, unless you really understand all the consequences of sending XHTML to your browser. I recommend you go back to sending HTML to both IE and Firefox, and take it from there. -Erik Taras Bahnyuk wrote: > Erik, > > The point is, that I even don't know how one would change it when > desired. > More interesting thing is, that page source in IE carries the HTML type > > <!DOCTYPE html > PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> > > And in Firefox - XHTML: > > <!DOCTYPE html > PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > > Both pages being opened at the same time. > > -Taras. > > > -----Original Message----- > From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez > Sent: vrijdag 3 februari 2006 0:16 > To: [hidden email] > Subject: Re: [ops-users] xForms select labels missing in Firefox. > > Where do you put the DOCTYPE? OPS by default will generate: > > <!DOCTYPE html > PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> > > So unless you changed that yourself, I don't see how you can get "XHTML > 1.0 transitional:. > > -Erik -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Taras Bahnyuk
Bingo!!!!
Of course I did change it. I just thought to myself, wtf, I have the best browser in the world here. And I bet it does know how to render xhtml, so I enabled it in epilogue. It happened quite a few days ago, since than I was busy with sonething else and forgot about that change. Thanks Erik. -Taras -----Original Message----- From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez Sent: vrijdag 3 februari 2006 13:18 To: [hidden email] Subject: Re: [ops-users] xForms select labels missing in Firefox. Taras, Did you customize your epilogue? By default, I see the same DOCTYPE sent to both Firefox and IE. The epilogue (config/epilogue-servlet.xpl) has an optional section that allows you to enable XHTML. I assume that you have enabled that. And that would also be the place where you would configure the DOCTYPE: search for "public-doctype". The fact is that depending on your DOCTYPE, your browser will render pages differently. This is why in general it remains easier to just generate plain ugly HTML, unless you really understand all the consequences of sending XHTML to your browser. I recommend you go back to sending HTML to both IE and Firefox, and take it from there. -Erik -- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Erik Bruchez
Hi Erik,
sorry, but, with respect, the issue doesn't seem to be what the doctype is, the real issue imho is that the (x)html being produced for an input element is invalid according to the spec. html didn't have this issue as it wasn't concerned with closing tags, and browsers are more tolerant of html quirks anyway. xhtml makes this an issue because you now need to close a tag that is supposed to be empty, so labels as plain text no longer work, and you have to use label elements. Since I started focusing on building websites over five years ago, we have only produced sites using xhtml (I wanted to change the epilogue to always send xhtml), so I believe I am comfortable with what the standard means. Since, for me at least, one of the biggest selling features of ops is its adherence to standards, I suspect the same is true for you. So yes, it's not great, but we do have a workaround now of using an html doctype, but as this issue illustrates, allowing a browser to slip into quirks mode can have a number of unanticipated and unacceptable consequences and I hope you can open a tracker item on it. Thanks & regards Colin On Feb 3, 2006, at 7:18 AM, Erik Bruchez wrote: > Taras, > > Did you customize your epilogue? By default, I see the same DOCTYPE > sent to both Firefox and IE. > > The epilogue (config/epilogue-servlet.xpl) has an optional section > that allows you to enable XHTML. I assume that you have enabled > that. And that would also be the place where you would configure the > DOCTYPE: search for "public-doctype". > > The fact is that depending on your DOCTYPE, your browser will render > pages differently. This is why in general it remains easier to just > generate plain ugly HTML, unless you really understand all the > consequences of sending XHTML to your browser. > > I recommend you go back to sending HTML to both IE and Firefox, and > take it from there. > > -Erik -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Makes sense:
http://forge.objectweb.org/tracker/index.php?func=detail&aid=304621&group_id=168&atid=350207 Still, in the meanwhile, using HTML is a solution ;-) -Erik Colin O'Brien wrote: > Hi Erik, > > sorry, but, with respect, the issue doesn't seem to be what the doctype > is, the real issue imho is that the (x)html being produced for an input > element is invalid according to the spec. > html didn't have this issue as it wasn't concerned with closing tags, > and browsers are more tolerant of html quirks anyway. > xhtml makes this an issue because you now need to close a tag that is > supposed to be empty, so labels as plain text no longer work, and you > have to use label elements. > Since I started focusing on building websites over five years ago, we > have only produced sites using xhtml (I wanted to change the epilogue to > always send xhtml), so I believe I am comfortable with what the standard > means. > Since, for me at least, one of the biggest selling features of ops is > its adherence to standards, I suspect the same is true for you. > So yes, it's not great, but we do have a workaround now of using an html > doctype, but as this issue illustrates, allowing a browser to slip into > quirks mode can have a number of unanticipated and unacceptable > consequences and I hope you can open a tracker item on it. > > Thanks & regards > Colin > > On Feb 3, 2006, at 7:18 AM, Erik Bruchez wrote: > >> Taras, >> >> Did you customize your epilogue? By default, I see the same DOCTYPE >> sent to both Firefox and IE. >> >> The epilogue (config/epilogue-servlet.xpl) has an optional section >> that allows you to enable XHTML. I assume that you have enabled >> that. And that would also be the place where you would configure the >> DOCTYPE: search for "public-doctype". >> >> The fact is that depending on your DOCTYPE, your browser will render >> pages differently. This is why in general it remains easier to just >> generate plain ugly HTML, unless you really understand all the >> consequences of sending XHTML to your browser. >> >> I recommend you go back to sending HTML to both IE and Firefox, and >> take it from there. >> >> -Erik > > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
This is now fixed:
http://forge.objectweb.org/tracker/index.php?func=detail&aid=304621&group_id=168&atid=350207 As suggested, we now no longer produce the label text within the <input></input>. Also, we use an (X)HTML label elements instead of just putting the label text./ -Erik Erik Bruchez wrote: > Makes sense: > > http://forge.objectweb.org/tracker/index.php?func=detail&aid=304621&group_id=168&atid=350207 > > > Still, in the meanwhile, using HTML is a solution ;-) > > -Erik > > Colin O'Brien wrote: >> Hi Erik, >> >> sorry, but, with respect, the issue doesn't seem to be what the >> doctype is, the real issue imho is that the (x)html being produced for >> an input element is invalid according to the spec. >> html didn't have this issue as it wasn't concerned with closing tags, >> and browsers are more tolerant of html quirks anyway. >> xhtml makes this an issue because you now need to close a tag that is >> supposed to be empty, so labels as plain text no longer work, and you >> have to use label elements. >> Since I started focusing on building websites over five years ago, we >> have only produced sites using xhtml (I wanted to change the epilogue >> to always send xhtml), so I believe I am comfortable with what the >> standard means. >> Since, for me at least, one of the biggest selling features of ops is >> its adherence to standards, I suspect the same is true for you. >> So yes, it's not great, but we do have a workaround now of using an >> html doctype, but as this issue illustrates, allowing a browser to >> slip into quirks mode can have a number of unanticipated and >> unacceptable consequences and I hope you can open a tracker item on it. >> >> Thanks & regards >> Colin >> >> On Feb 3, 2006, at 7:18 AM, Erik Bruchez wrote: >> >>> Taras, >>> >>> Did you customize your epilogue? By default, I see the same DOCTYPE >>> sent to both Firefox and IE. >>> >>> The epilogue (config/epilogue-servlet.xpl) has an optional section >>> that allows you to enable XHTML. I assume that you have enabled >>> that. And that would also be the place where you would configure the >>> DOCTYPE: search for "public-doctype". >>> >>> The fact is that depending on your DOCTYPE, your browser will render >>> pages differently. This is why in general it remains easier to just >>> generate plain ugly HTML, unless you really understand all the >>> consequences of sending XHTML to your browser. >>> >>> I recommend you go back to sending HTML to both IE and Firefox, and >>> take it from there. >>> >>> -Erik >> >> >> >> ------------------------------------------------------------------------ >> >> >> -- >> You receive this message as a subscriber of the >> [hidden email] mailing list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |