Re: Problem with webobjects - tag occurred before another tag
Re: Problem with webobjects - tag occurred before another tag
- Subject: Re: Problem with webobjects - tag occurred before another tag
- From: Guido Neitzer <email@hidden>
- Date: Mon, 21 Jul 2008 15:16:44 -0600
On 21.07.2008, at 15:04, Lachlan Deck wrote:
I have just switched my environment from 10.4 tiger with web
objects 5.2.4 to 10.5 leopard (mac intel) with webobjects 5.4.2 and
I'm getting a lot of tag errors such as </TABLE> occurred before </
TR>, </TD> occurred before </FONT>, </TR> occurred before </WOB-
Tokenizer> and so on...its is about 115 messages and so hard to fix
because we use nested tags. Does anyone know how to fix these
errors easily? Any help would be greatly appreciated.
Try hitting cmd+shift+f in Eclipse component editor
Uppercase tags (I think) are a thing of the past. 5.4.x, by default,
requires xml compliant tags AFAIK
No, only the WO 5.4 inline tag parser does. What he probably sees are
errors from the HTML
validation. These should get fixed nevertheless. Things like this:
<wo:if condition="$foo"><tr></wo:if>
...
<wo:if condition="$foo"></tr></wo:if>
(Inline tags for better understanding) might work with the old-style
parser but will never work with inline bindings, either WOOgnl or WO
itself. It's just just bad style to write things like that. I fear,
Mersida meant that by "nested tags". Or, even worse, stuff like that:
<div class = "<webobject name=ClassString />">
which are even uglier and should be forbidden by international law ...
And it's really not that hard to fix. Even for 115 error messages -
some of them might be fixed by just fixing ONE tag ...
cug
--
http://www.event-s.net
_______________________________________________
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