Re: Apple, any slight update or estimation on WO 5.3.1, Please ??
Re: Apple, any slight update or estimation on WO 5.3.1, Please ??
- Subject: Re: Apple, any slight update or estimation on WO 5.3.1, Please ??
- From: Arturo Perez <email@hidden>
- Date: Wed, 14 Sep 2005 14:46:01 -0400
Hi Alan,
It's a confusion between what the URL is and what is in the file sent to
the browser.
The url remains .../wa/actionName?foo=bar&foobar=doo. So, use that to
feed to curl, type it into the browser address bar, etc.
But, because HTML is a version of SGML and a naked ampersand is a
special (control) character for SGML then all & contained within the
file must be escaped/converted to &. Thus, all your hrefs should
really be written as href=.../wa/actionName?foo=bar&foobar=doo
Of course, this is not the state of the practice. :-)
-arturo
Alan Ward wrote:
I'm not sure I understand (or agree with) what Xavier is saying here.
.../wa/actionName?foo=bar&foobar=doo
is different to
../wa/actionName?foo=bar&foobar=doo.
In the first case there are two parameters (or form values), one called
foo and the other called foobar
with values "bar" and "doo". In the second case there is one parameter
"foo" with a value "bar&foobar=doo".
If you URL escape the ampersands between parameters then you are
effectively making them all one
value that gets associated with the first one.
Did I miss something?
Alan
On Sep 14, 2005, at 1:10 AM, David Teran wrote:
Hi,
well, you are requesting XHTML compliance. This is not supported by
WebObjects 5.3 and was not by WebObjects 5.2.x. But whats the
problem? This is not too hard to fix. I also wonder how this could
have worked with WO Version < 5.3. Could you please post an example
of the code which works with WO 5.2.x and which does not work with
5.3? This way i might be able to send you a workaround.
regards, David
Am 13.09.2005 um 21:07 schrieb Dev WO:
OK David, so here's the details:
When you've got a direct Action, in which there are several
parameter, it becomes a link like
.../wa/actionName?attribute1=xparam&attribute2=yparam
for example.
The HTML specification says the "&" in URLs must be escaped to
"&" so the HTML code for this link should be:
.../wa/actionName?attribute1=xparam&attribute2=yparam
and it was the case at least in 5.2.3 and earlier (I don't remember
in 5.2.4).
So this thing that seems trivial and none harmful just ruined any
accessibility "rating" you're application could have (the ratings
are A, AA and AAA), at least above A (because it requires a valid
HTML code). And the European law says that public organisations must
be at least A but target AA.
On my particular side, we were able to provide most af our product
as AAA and they now all fall down to A...
I'm not sure I made myself clear, let me know if I'm still "weird":)
Xavier
Hi,
what does this mean 'the & isn't escaped in Direct Action' ??? In
the response from a WODirectAction's action method or where??? It
would be great if you can explain me this issue a little bit more
in detail. I am also sure that with such a bugreport apple would
not spend a second before closing such a bugreport ;-)
regards, David
Am 13.09.2005 um 12:58 schrieb Dev WO:
Hi David,
just one major issue in 5.3: the & isn't escaped in Direct Action
which is a major issue (HTML conformance) as you cannot provide
anything to public organisation all over Europe (at least you can
only provide the lowest level of accessibility which is simple-A,
but can't do double-A or triple-A accessibility as it requires
HTML conformance...)
It used to work correctly before 5.3 (don't remember in 5.2.4).
I also think the date used to be displayed localized when the
session as a language set (at least the ones integrated in OS X).
But I'm not a WO expert, so my point my not be accurate;)
Xavier
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Apple, any slight update or estimation on WO 5.3.1, Please ?? (From: Nathan Walker <email@hidden>) |
| >Re: Apple, any slight update or estimation on WO 5.3.1, Please ?? (From: Chuck Hill <email@hidden>) |
| >Re: Apple, any slight update or estimation on WO 5.3.1, Please ?? (From: Nico Rossi <email@hidden>) |
| >Re: Apple, any slight update or estimation on WO 5.3.1, Please ?? (From: David Teran <email@hidden>) |
| >Re: Apple, any slight update or estimation on WO 5.3.1, Please ?? (From: Dev WO <email@hidden>) |
| >Re: Apple, any slight update or estimation on WO 5.3.1, Please ?? (From: David Teran <email@hidden>) |
| >Re: Apple, any slight update or estimation on WO 5.3.1, Please ?? (From: Dev WO <email@hidden>) |
| >Re: Apple, any slight update or estimation on WO 5.3.1, Please ?? (From: David Teran <email@hidden>) |
| >Re: Apple, any slight update or estimation on WO 5.3.1, Please ?? (From: Alan Ward <email@hidden>) |