Re: WebObjects 5.4 is out.
Re: WebObjects 5.4 is out.
- Subject: Re: WebObjects 5.4 is out.
- From: Mike Schrag <email@hidden>
- Date: Fri, 26 Oct 2007 16:20:32 -0400
Am 26.10.2007 um 22:00 schrieb Mike Schrag:
Is there a recommended migration route from 5.3 style wod/html to
5.4 html ? is it a case of changing each and every component by
hand ?
At the moment it's really an issue of testing and converting by
hand as you find problems. WOLips can probably identify many of
the errors, but there's no automatic fixes for them.
There is a script fixwo.pm in Wonder/Utilities/TemplateHelpers that
makes valid xml from broken html. I so far cowardly refused to
convert the Wonder component base with it...
Yikes. You are justifiably cowardly in this case.
The big things that are going to screw people are (I think):
1) WOBuilder and its love for unquoted attribute names (refactor =>
clean wobuilder fixes this, but it's not without issues)
2) Tags inside of tags (<td class = "<webobject name = "SomeClass"/
>">). This is EVIL. The WOLips validator has also been yelling at
you about this for months now, and that was very intentional. If you
listened to it, you're in a much better position for 5.4. There is
no automatic fix for this ... In fact, I would not be surprised that
this will probably whack out the WOLips autoformatter and wobuilder
cleaner.
3) lazy tags. <br> <p> <li> all those tags you love to not close ...
WOLips lets you get away with it in non-5.4 mode, but you should be
ashamed of yourself :) Refactor=>reformat will generally close
those for you, but you should be aware that it doesn't REALLY know
what you meant, so it's likely going to semantically change your page
by closing early or wrapping things you didn't intend.
4) There are a couple of HTML tags that break when closed. Like the
<link> tag I think is not allowed to have a close tag? I actually
don't how you do this with the 5.4 parser.
ms
_______________________________________________
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