Re: .wo template parsing problem with xml-tag named "workingpr"
Re: .wo template parsing problem with xml-tag named "workingpr"
- Subject: Re: .wo template parsing problem with xml-tag named "workingpr"
- From: Hugi Thordarson <email@hidden>
- Date: Tue, 27 Jul 2010 10:08:36 +0000
Ah, of course, it's WOOGNL. That makes this much less lame - and more importantly, fixable :).
I filed a JIRA and attached a patch.
http://issues.objectstyle.org/jira/browse/WONDER-557
Cheers,
- hugi
On 17.6.2010, at 11:52, Mike Schrag wrote:
> if you're using woognl, make sure to log a jira
>
> On Jun 16, 2010, at 12:09 PM, Hugi Thordarson wrote:
>
>> Yup, that's the case. Every tag that starts with "wo" fails.
>>
>> Dang, that's awesomely lame.
>>
>> - hugi
>>
>>
>>
>> On 16.6.2010, at 13:44, Chuck Hill wrote:
>>
>>> My guess is lazy / buggy parsing for tags like <wo:str...> It just looks for <wo ?
>>>
>>> Chuck
>>>
>>>
>>> On Jun 16, 2010, at 5:03 AM, Hugi Thordarson wrote:
>>>
>>>> Good morning everyone.
>>>>
>>>> I have a bit of an odd problem. I'm creating an XML-document .wo. One of the tags in the XML is called "workingpr". Now. When the WO template parser encounters this xml-tag in the html, it attempts to parse it as a <webobject> tag, giving me the error:
>>>>
>>>> Error:
>>>> com.webobjects.foundation.NSForwardException [com.webobjects.appserver.parser.WOHTMLFormatException] . It has no NAME=... parameter: . It has no NAME=... parameter
>>>>
>>>> Reason:
>>>> <WOHTMLWebObjectTag cannot initialize WebObject tag <workingpr> . It has no NAME=... parameter
>>>>
>>>> This is reproducible across the board, in other projects.
>>>>
>>>> I can work around the problem by using a WOXMLNode, of course, but I'm still curious.
>>>>
>>>> So, does anyone have *any* idea how and why this happens?
>>>>
>>>> I kiss you,
>>>> - hugi _______________________________________________
>>>> 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
>>>
>>> --
>>> Chuck Hill Senior Consultant / VP Development
>>>
>>> Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
>>> http://www.global-village.net/products/practical_webobjects
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>> _______________________________________________
>> 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
>
_______________________________________________
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